public bool IsNum(char ch)
{
if (((ch >= '0') && (ch <= '9'))|| (ch == '.'))
return true;
else
return false;
}
Why does this method work in a normal console app, but not in a class library that I am trying to write?
If I copy this code into my class library I get:
: "Expected class, delegate, enum, interface, or struct"
Simon