About
Pricing
Community
Teams
Start Free Trial
Log in
darren-w-
asked on
9/8/2010
Append Dictionary onto an existing one
Hi,
I have an existing dictionary variable:
Dictionary<string, string> itemList = new Dictionary<string, string> ();
And I would like to add the below one to it so the values are added to the end, its returned from a method.
Dictionary<string, string> returnValue = new Dictionary<string, string> ();
ie somthing like: itemList +=returnValue (I know this is wrong)
.NET Programming
C#
5
3
Last Comment
darren-w-
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dirk Haest
9/8/2010
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.
SOLUTION
LlamaJoe
9/8/2010
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.
SOLUTION
w00te
9/8/2010
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
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
w00te
9/8/2010
Actually mine's prety much the same as Dhaest, go for his. Sorry about that :)
-w00te
darren-w-
9/8/2010
ASKER
Ok thanks all
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
-w00te