我想在另一个Dictionary
中使用。类似于 python 的东西。我试过这个,但它给了我错误。TKey
Dictionary
Dictionary<Dictionary<string, string>, int> dict = new Dictionary<Dictionary<string, string>, int>();
Dictionary<string, string> dict2 = new Dictionary<string, string>();
dict2["abc"] = "def";
dict[dict["abc"] = 20;