常用方法
常用方法
常用方法
常用方法
public static void AddDistinct <T>(this HashSet <T> hash, IEnumerable <T> items) { if (items != null) { items.ForEach(t => hash.AddDistinct(t)); } }
public static void AddDistinct <T>(this HashSet <T> hash, IEnumerable <T> items) { if (items != null) { items.ForEach(t => hash.AddDistinct(t)); } }