Bridge

List<(Of <(<'T>)>)> Constructor (Int32)

Initializes a new instance of the List<(Of <(<'T>)>)> class that is empty and has the specified initial capacity.

Namespace:  System.Collections.Generic
Assembly:  Bridge (in Bridge.dll)

Syntax


public List(
	int capacity
)
Public Sub New ( _
	capacity As Integer _
)
public:
List(
	int^ capacity
)

Parameters

capacity
Type: System..::..Int32
The number of elements that the new list can initially store.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptioncapacity is less than 0.