1
Answer

Returning values

jjay

jjay

20y
2k
1
Hi all. I having a prob with an Isnumeric function I'm using. I keep getting the error. "Not all code paths return a value" Please help everyone. Heres my code. public bool IsNo(char[] test) { foreach(Char chrMine in test) { if (chrMine >= '0' && chrMine <= '9') { return true; } else { return false; } } } Thanx :P
Answers (1)