System.Text.Ascii static class Ascii Documentation Code public static bool IsValid(string value) public static bool IsValid(ReadOnlySpan<char> value)