The fully qualified call to the method that allows the user to input a single character is:
a. Console.System.Read( )
b. System.Console.Read( )
c. Console.System.Write( )
d. System.Console.Write( )
e. System.Console.ReadLine( )
Correct option : b. System.Console.Read( )
Explanation :
System.Console.Read( ) is a method which acceps only single character
eg:
using System;
namespace SingleChar
{
class Program
{
static void Main(string[] args)
{
char ch;
Console.Write("Enter a single character ");
ch = Convert.ToChar(Console.Read());
Console.WriteLine(+ch);
}
}
}