C# Shallowplica Dictionary?
原文:C# Shallow copy Dictionary?
原文:C# Shallow copy Dictionary?
I need to shallow copy a dictionary in c#. For instance: Dictionary<int,int> flags = new Dictionary<int,int>(); flags[1] = 2; flags[2] = 3; flags[0] = 9001; Dictionary<int,int> ...