adplus-dvertising
frame-decoration

Question

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

Posted under C# programming

Answer: (d).System.Console

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the classes provide the operation of reading from and writing to the console in C#.NET?

Similar Questions

Discover Related MCQs

Q. Which of the given stream methods provide access to the output console by default in C#.NET?

Q. Which of the given stream methods provide the access to the input console in C#.NET?

Q. The number of input methods defined by the stream method Console.In in C#.NET is?

Q. Select the correct methodS provided by Console.In?

Q. Choose the output returned when read() reads the character from the console?

Q. Choose the output returned when error condition is generated while read() reads from the console.

Q. Choose the object of TextReader class.

Q. Choose the object/objects defined by the Textwriter class.

Q. Choose the methods provided by Console.Out and Console.Error?

Q. Name the exception thrown by read() on failure.

Q. Which of these methods are used to read single character from the console?

Q. Which of these method used to read strings from the console?

Q. Which among the following methods are used to write characters to a string?

Q. Which method in Console enables to read individual inputs directly from the keyboard in a non line buffered manner?

Q. What is the output returned by Console if ReadLine() stores I/O error?

Q. Name the method/methods used to read byte streams from the file?

Q. Which of these classes are used by Byte streams for input and output operation?

Q. Which of these method/methods are used to read block or array of bytes from the file?

Q. Select the objects of the class TextWriter which is/are not used to perform the write operations to the console?

Q. Choose the correct statement about the WriteLine()?