Its super easy to validate if a string does not have any special characters in it.
Bool isValid(string inputText)
{
return inputText.All(Char.IsLetterOrDigit);
}
Its super easy to validate if a string does not have any special characters in it.
Bool isValid(string inputText)
{
return inputText.All(Char.IsLetterOrDigit);
}