- Add
- Count
- Contains
- Comparer
- TrimExcess
- CopyTo
- Clear
- Remove
- ExceptWith
- IntersectWith
- SymmetricExceptWith
- UnionWith
- IsProperSubsetOf
- IsProperSupersetOf
- IsSubsetOf
- IsSupersetOf
- Overlaps
- SetEquals
CopyTo
从指定索引开始复制集合的所有元素到指定数组。
int CopyTo(
|
参数
&dst_array[]
[out] 将要编写集合元素的数组。
dst_start=0
[in] 开始复制的数组的索引。
返回值
返回已复制元素的数量。