/// <summary> /// Returns merged dictionaries, ignoring duplicate keys. /// NOTE: original dictionary will be modified (will be equal to return value) /// </summary> /// <param name="otherDict">Dictionary to merge into this one.</param> public static IDictionary <TKey, TValue> MergeDictionary <TKey, TValue>(this IDictionary <TKey, TValue> original, IDictionary <TKey, TValue> otherDict) { return(original.MergeDictionary(otherDict, DictionaryMergeOptions.IgnoreDuplicateKey)); }