Class ListWithElements<T>
- Namespace
- SunamoCollectionsGeneric.Collections
- Assembly
- SunamoCollectionsGeneric.dll
A list that is pre-initialized with a specified number of default elements
public class ListWithElements<T> : L<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
Type Parameters
TThe type of elements in the list
- Implements
-
IList<T>ICollection<T>IEnumerable<T>
- Inherited Members
- Extension Methods
Constructors
ListWithElements(int)
Initializes a new instance with the specified number of default elements
public ListWithElements(int count)
Parameters
countintThe number of default elements to initialize