public static List <T> ToList <TKey, T>(this Dictionary <TKey, T> dictionary) where T : new() { return(DataSerializer.ConvertDictionaryToListOfType(dictionary)); }