This project is read-only.
1
Vote

Feature Request: Dictionary Merge extension

description

For example,
 
From http://stackoverflow.com/questions/294138/merging-dictionaries-in-c
 
static Dictionary<TKey, TValue>
Merge<TKey, TValue>(this IEnumerable<Dictionary<TKey, TValue>> enumerable)
{
enumerable.SelectMany(x => x).ToDictionary(x => x.Key, y => y.Value);
}

comments