if array contains an id c# 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;
}