考虑我是否有Dictionary<Key,List<item>>
TestDictionary
如果我做:
List<item> someCollection;
TestDictionary.TryGetValue(someKey,out someCollection); //assuming that someCollection will not return null;
someCollection.add(someItem);
对象someItem
会被添加到集合中的Dictionary
valueTestDictionary[someKey]
吗?