public static void AddRange <T>(this ICollection <T> collection, params T[] items)
 {
     collection.AddRangeCore <T>(items);
 }
 public static void AddRange <T>(this ICollection <T> collection, IEnumerable <T> items)
 {
     collection.AddRangeCore <T>(items);
 }