Constructs and initializes a new instance of the ArrayList class with the elements from the specified ICollection. The initial ArrayList.Count and ArrayList.Capacity of the new list are both equal to the number of elements in the specified collection.
- c
- The ICollection whose elements are copied to the new list.
Type Reason ArgumentNullException c is null.
The elements in the new ArrayList instance are in the same order as contained in c.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0