【发布时间】:2011-04-28 07:14:53
【问题描述】:
可能的重复:
Merging dictionaries in C#
What's the fastest way to copy the values and keys from one dictionary into another in C#?
我有一本字典,里面有一些值,比如说:
Animals <string, string>
我现在收到另一本类似的字典,比如:
NewAnimals <string,string>
如何将整个 NewAnimals 字典附加到 Animals?
【问题讨论】:
标签: c#