public static void Main()
Console.WriteLine("Enter any character: ");
ch = Convert.ToChar(Console.ReadLine());
if ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z'))
case 'a': Console.WriteLine(ch + " is a vowel");
case 'e': Console.WriteLine(ch + " is a vowel");
case 'i': Console.WriteLine(ch + " is a vowel");
case 'u': Console.WriteLine(ch + " is a vowel");
case 'o': Console.WriteLine(ch + " is a vowel");
case 'A': Console.WriteLine(ch + " is a vowel");
case 'E': Console.WriteLine(ch + " is a vowel");
case 'I': Console.WriteLine(ch + " is a vowel");
case 'O': Console.WriteLine(ch + " is a vowel");
case 'U': Console.WriteLine(ch + " is a vowel");
default: Console.WriteLine(ch + " is a consonant");
else if (ch >= '0' && ch <= '9')
Console.WriteLine(ch + " is a Numeric");
case '+': Console.WriteLine(ch + " is an arithmetic operator");
case '-': Console.WriteLine(ch + " is an arithmetic operator");
case '*': Console.WriteLine(ch + " is an arithmetic operator");
case '/': Console.WriteLine(ch + " is an arithmetic operator");
case '%': Console.WriteLine(ch + " is an arithmetic operator");
default: Console.WriteLine(ch + " is a Special character");