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); }
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); }