What\'s the best way to merge 2 or more dictionaries (Dictionary) in C#? (3.0 features like LINQ are fine).
Dictionary
I\'m thinking of a method signa
Try the following
static Dictionary Merge(this IEnumerable> enumerable) { return enumerable.SelectMany(x => x).ToDictionary(x => x.Key, y => y.Value); }