Maybe I am missing something obvious, but is there an easier way to check if a character is a base Latin letter (az) other than converting to a string using Regex ?: For example:
public static bool IsBasicLetter(Char c) { return Regex.IsMatch(c.ToString(), "[az]", RegexOptions.IgnoreCase); }
Char.IsLetter matches hundreds of letter characters from many alphabets. I could check the codes directly, but this looks sketchy:
public static bool IsBasicLetter(Char c) { int cInt = c; return !(cInt < 65 || cInt > 122 || (cInt > 90 & cInt < 97)); }
source share