public static bool IsValidCharacterValue(String s) { try { int i = int.Parse(s); return IsValidCharacterValue(i); } catch { return false; } }