c sharp array includes code example
Example: c# check if array contains value
public static bool Contains(Array a, object val)
{
return Array.IndexOf(a, val) != -1;
}
public static bool Contains(Array a, object val)
{
return Array.IndexOf(a, val) != -1;
}