Open sandboxFocus

Constructor AdvisableCollection

AdvisableCollection(int)

Initializes a new instance of the AdvisableCollection<T> class that is empty and has the specified initial capacity.

Declaration
public AdvisableCollection(int capacity)
Parameters
Type Name Description
int capacity

The initial collection capacity.

AdvisableCollection()

Initializes a new instance of the AdvisableCollection<T> class that is empty and has the default initial capacity.

Declaration
public AdvisableCollection()

AdvisableCollection(IEnumerable<T>)

Initializes a new instance of the AdvisableCollection<T> class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.

Declaration
public AdvisableCollection(IEnumerable<T> items)
Parameters
Type Name Description
IEnumerable<T> items

The collection whose elements are copied to the new AdvisableCollection<T>.