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
?
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
?