C
Colin Basterfield
Hi,
Coming back to C# after a foray back into Delphi 7, and I wanted to use the
switch keyword to do the following:
switch (pwdChar)
{
case "a".."z":
case "A".."Z":
case "0".."9":
// do something
// break
default : break;
}
But it doesn't recognize that a..z means any letter between a and z, is this
possible?
TIA
Colin
Coming back to C# after a foray back into Delphi 7, and I wanted to use the
switch keyword to do the following:
switch (pwdChar)
{
case "a".."z":
case "A".."Z":
case "0".."9":
// do something
// break
default : break;
}
But it doesn't recognize that a..z means any letter between a and z, is this
possible?
TIA
Colin