Click or drag to resize

ListExtensions Methods

The ListExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContainsT
Check if an array contains a value
Public methodStatic memberConvertToArrayT
Converts a List to an Array without using Linq
Public methodStatic memberConvertToListT
Converts an Array to a List without using Linq
Public methodStatic memberGetRandomT(ListT)
Returns a random item from a List
Public methodStatic memberGetRandomT(T)
Returns a random item from an array
Public methodStatic memberIndexOfT
Gets the index of an entry in an array
Public methodStatic memberShuffleT
Shuffles an IList of type T (Does not create a copy)
Top
See Also