初始化Dictionary赋值

Dictionary<int, string> dict = new Dictionary<int, string>() { { 1, "1" }, { 2, "2" } };
相关文章
相关标签/搜索