Is there an AddRange equivalent for a HashSet in C#

With a list you can do:

list.AddRange(otherCollection);

There is no add range method in a HashSet.
What is the best way to add another ICollection to a HashSet?

3 Answers
3

Leave a Comment