◆ Contains< T >()

static bool Contains< T > ( this IEnumerable< T >  list,
value 
)
static
Template Parameters
TType of list elements
Parameters
listthe potential list to be checked, may be null
valueTRUE if the value exists anywhere in the array, FALSE otherwise.
Returns
TRUE if the value exists anywhere in the list, FALSE otherwise.