Hi,
I have an input string and I want to verify that it contains:
- Only letters or
- Only letters and numbers or
- Only letters, numbers or underscore
To clarify, I have 3 different cases in the code, each calling for different validation. What's the simplest way to achieve this in C#?
Thanks