Show / Hide Table of Contents

Method ExtMisc.Ref


Overload

Gets a reference to an item. List items must not be added or removed while it is in use.

public static ref T Ref<T>(this List<T> t, int i)
Parameters
t  (List<T>)
i  (int)

Item index.

Returns
T
Type Parameters
T