public static Dictionary<T1, T2> DictionaryFromKVArray<T1, T2>( KeyValuePair<T1, T2>[] arr, IEqualityComparer<T1> comparer )