ChensHelpers
Chen.Helpers.CollectionHelpers.Extensions
Extensions.Contains<T>(T[], T) Method
Checks if a value exists within the array.
public static bool Contains<T>(this T[] array, T value);
Type parameters
Parameters
array
T[]
The array to inspect
value
T
The value to check
Returns
System.Boolean
True if the value exists in the array. False if not.