About
Pricing
Community
Teams
Start Free Trial
Log in
cerobledo
asked on
10/10/2015
Create a copy of a nested Dictionary
I need to make an independent copy of this data structure
Dictionary<int, Dictionary<string, string>>();
I create a copy of one of these dictionaries and when I clear it...the copy is cleared also
thanks
Chuck
C#
.NET Programming
2
1
Last Comment
cerobledo
8/22/2022 - Mon
Qlemo
10/10/2015
Did you use
MemberwiseClone()
to get a copy?
ASKER CERTIFIED SOLUTION
cerobledo
10/10/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy