Answers for "c# char input"

C#
3

c# readline char

Your_Char=Convert.ToChar(Console.readline());
Posted by: Guest on January-23-2021
2

c# read char

input[i] = Console.ReadKey().KeyChar;
Posted by: Guest on December-19-2019
0

c# char input

// 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);
Posted by: Guest on October-12-2021

C# Answers by Framework

Browse Popular Code Answers by Language