public static void Main()
string format = "{0, -10} {1, -15}";
object [] values = { "-128" ,"12.8", "-89", "ABC", "true", "128", "a", ".", "0", "10.2m"};
Console.WriteLine(format, "Object", "Is Valid Char");
Console.WriteLine(format, "------", "-------------");
foreach(var val in values)
Console.WriteLine(format, val, val.IsValidChar());