1.

Which of the classes provide the operation of reading from and writing to the console in C#.NET?(a) System.Array(b) System.Output(c) System.ReadLine(d) System.Console

Answer» The correct option is (d) System.Console

To explain I would say: The method for reading and writing to the console in C#.NET is provided by System.Console class. This class gives us access to the standard input, output and standard error streams.


Discussion

No Comment Found

Related InterviewSolutions