// C# program to input a character
// using Convert.ToChar()
char ch;
//input character
Console.Write("Enter a character: ");
ch = Convert.ToChar(Console.ReadLine());
//printing the input character
Console.WriteLine("Input character is {0}", ch);
input[i] = Console.ReadKey().KeyChar;