You do not need to implement your own HashSet
for that, just use the native UnionWith
extension method.
This page looks best with JavaScript enabled
.NET - AddRange for HashSet
WRITTEN BY
Victor Zakharov
Web Developer (Angular/.NET)
You do not need to implement your own HashSet
for that, just use the native UnionWith
extension method.