how to get a character from console c# code example Example: c# read char input[i] = Console.ReadKey().KeyChar;