I want to find whether a string contains any of the special characters like !,@,#,$,%,^,&,*,(,)....etc.
How can I do that without looping thorugh all the charact
Also...
foreach (char character in "some*!@#@!#string") { if(!Char.IsLetterOrDigit(character)) { //It is a special character. } }