public static void Reset <T>(this IProducerConsumerCollection <T> col, IEnumerable <T> items) { col.Clear(); AddRange(col, items); }