初始化Dictionary<string, object>赋值 Dictionary<int, string> dict = new Dictionary<int, string>() { { 1, "1" }, { 2, "2" } };