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