Table of Contents

Interface IList<T>

Namespace
AndrasCsanyi.DataStructuresAndAlgs
Assembly
AndrasCsanyi.DataStructuresAndAlgs.dll

Dynamic size array, short name, List. The array is typed meaning it can handle only a single type. The list is based on an array meaning this type in contiguous. The size of this list is dynamically managed and doesn't require any act from the user.

public interface IList<T>

Type Parameters

T

The type of the items in the list.

Methods

Add(T)

Adds a type T elem to the list. The place of the item is after the last item in the list.

T Add(T item)

Parameters

item T

The item to be added.

Returns

T

Returns the list having the added element.