ArrayExtensions.Contains<T>
Extension Method in ArrayExtensions
Declaration
public static bool Contains<T>(this T[] array, T element)
where T : IEquatable<T>Description
Checks if the array contains the given element.
Type Parameters
| T | The type of the array. |
Parameters
| array | The array to search in. |
| element | The element to search for. |
Returns
| bool | True if the array contains the element, false otherwise. |