That's one of the fallbacks of a "strong" language such as C# over a "weak" one such as C (this is not a comparing of the strength of the language but the strength of the safeguards build into the language). You might just have to use nested if blocks to accomplish your goal whereas this could easily be done in C.
Regards,
Tyler S. Breton
Reputation Points: 25
Solved Threads: 3
Junior Poster in Training
Offline 89 posts
since Oct 2006