AdminJun 71 min readC# Console.Read()Rated 0 out of 5 stars.No ratings yetThis code only allows you input one character.Console.WriteLine("Input a character:");int ch = Console.Read();Console.Write("Character in ASCII code: {0}", ch);For example when you type Athe output will be 65 in ASCII code.
This code only allows you input one character.Console.WriteLine("Input a character:");int ch = Console.Read();Console.Write("Character in ASCII code: {0}", ch);For example when you type Athe output will be 65 in ASCII code.
Comments