Example #1
0
 public static bool ArrayContainsTheValue(int[] a, int Value)
 {
     foreach (int ArrayValue in a)
     {
         if (ArrayValue.Equals(Value))
         {
             return(true);
         }
     }
     return(false);
 }