i m a newbie in C# code , i need help with validating special characters without using regex , can someone help me?
i m using this code ATM and want to make it works without regex
else if (Regex.IsMatch(textBox2.Text, "^[a-zA-Z ]+$")==false)
{
MessageBox.Show("Name may not contain any special characters");
}
Thanks!