CSharp examples for System:Char
Is English Character
public class Main{ public static bool IsCharacter(this char c) {// ww w . j a va2 s . c om return c.IsLower() || c.IsUpper(); } public static bool IsLower(this char c) { return c >= 'a' && c <= 'z'; } public static bool IsUpper(this char c) { return c >= 'A' && c <= 'Z'; } }