Exemplo n.º 1
0
 public static bool IsNumericArray(string[] strNumber)
 {
     if (strNumber == null)
     {
         return(false);
     }
     if (strNumber.Length < 1)
     {
         return(false);
     }
     foreach (string expression in strNumber)
     {
         if (!Validate.IsNumeric(expression))
         {
             return(false);
         }
     }
     return(true);
 }
Exemplo n.º 2
0
 public static bool IsNumericArray(string[] strNumber)
 {
     if (strNumber == null)
     {
         return(false);
     }
     if (strNumber.Length < 1)
     {
         return(false);
     }
     for (int i = 0; i < strNumber.Length; i++)
     {
         string expression = strNumber[i];
         if (!Validate.IsNumeric(expression))
         {
             return(false);
         }
     }
     return(true);
 }