ListUtility class

Methods for manipulating lists.

public static class ListUtility

Public Members

name description
static AsReadOnly<T>(…) Wraps a ReadOnlyCollection around the specified list.
static BinarySearchForKey<TItem,TKey>(…) Searches a sorted list for a key via binary search. The list must be sorted by the ordering in the passed comparison.
static FindIndex<T>(…) Returns the index of the first item that matches the predicate. (2 methods)
static RemoveWhere<T>(…) Removes items from the list that match the specified predicate.

See Also