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