1.

Which of the given stream methods provide access to the input console in C#.NET?(a) Console.Out(b) Console.Error(c) Console.In(d) All of the mentioned

Answer» Correct option is (c) Console.In

Explanation: Console.In is an instance of TextReader, and we can use the methods and properties defined by TextReader to access it to read the input from the keyboard.


Discussion

No Comment Found

Related InterviewSolutions