Answers for "concat dictionary in c#"

C#
2

add a dictionary to another dictionary c#

foreach(var newAnimal in NewAnimals)
    Animals.Add(newAnimal.Key,newAnimal.Value)
Posted by: Guest on September-29-2020
1

C# merge 2 dictionaries

foreach (var item in custom_settings)
{
   default_settings[item.Key] = item.Value;
}
Posted by: Guest on May-12-2021

C# Answers by Framework

Browse Popular Code Answers by Language