HashSet<T>.CopyTo Method (T[])
.NET Framework (current version)
Copies the elements of a HashSet<T> object to an array.
Assembly: System.Core (in System.Core.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | array is null. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: