KeyValuePair <int, int> keyValuePair = new KeyValuePair<int, int> { Key = 1, Value = 2 }; 它不起作用,就好像属性不存在一样。 Intead,我需要像这样使用构造函数。
確定! 回上一頁