#unity/日常积累
命名空间:
System.Collections.Generic
程序集:
System.Collections.dll
修改当前 HashSet 对象以包含存在于该对象中、指定集合中或两者中的所有元素。
other
IEnumerable
要与当前的 HashSet 对象进行比较的集合。
[](https://learn.microsoft.com/zh-cn/dotnet/api/system.collections.generic.hashset-1.unionwith?view=net-8.0#--)
UnionWith(IEnumerable)