IntCollection.IntCollection Constructors
Initializes a new instance of the IntCollection class.
Overload List
| Name | Description | |
|---|---|---|
| Public method | IntCollection() | Initializes a new empty instance of the IntCollection class. |
| Public method | IntCollection(IEnumerable< System.Int32 > items) | Initializes a new instance of the IntCollection class with the specified elements. |
IntCollection()
Initializes a new empty instance of the IntCollection class.Syntax
public IntCollection ()IntCollection(IEnumerable< System.Int32 > items)
Initializes a new instance of the IntCollection class with the specified elements.Syntax
public IntCollection (
IEnumerable< System.Int32 (not available in C#) > items
)Parameters
items
Type: A collection of System::Int32 elements.
A collection of items to add to the new collection.
A collection of items to add to the new collection.
Platforms
Windows, Linux, Android