初始化Dictionary賦值

Dictionary<int, string> dict = new Dictionary<int, string>() { { 1, "1" }, { 2, "2" } };
相關文章
相關標籤/搜索