public static void AddRange(IList to, ICollection range) { foreach (object o in range) { to.Add(o); } }