using System.Collections.Generic; using System.Collections.ObjectModel; namespace Nitrox.Launcher.Models.Extensions; public static class CollectionExtensions { public static void AddRange(this Collection collection, params IEnumerable items) { foreach (T item in items) { collection.Add(item); } } }