SyntaxFix
Write A Post
Hire A Developer
Questions
The best way for me is this:
Dictionary<int, int> copy= new Dictionary<int, int>(yourListOrDictionary);