Table of Contents

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

T

The type of elements in the list

Inheritance
List<T>
L<T>
ListWithElements<T>
Implements
Inherited Members
Extension Methods

Constructors

ListWithElements(int)

Initializes a new instance with the specified number of default elements

public ListWithElements(int count)

Parameters

count int

The number of default elements to initialize