20 lines
414 B
C#
20 lines
414 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Obfuz
|
|||
|
{
|
|||
|
public static class CollectionExtensions
|
|||
|
{
|
|||
|
public static void AddRange<T>(this HashSet<T> values, IEnumerable<T> newValues)
|
|||
|
{
|
|||
|
foreach (var value in newValues)
|
|||
|
{
|
|||
|
values.Add(value);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|