1.

Select the namespace on which the stream classes are defined?(a) System.IO(b) System.Input(c) System.Output(d) All of the mentionedThe question was asked by my college professor while I was bunking the class.The question is from Introduction of Stream Classes in section Console I/O Operations and Stream Classes of C#

Answer»

The correct ANSWER is (a) System.IO

To EXPLAIN: The core STREAM classes are defined within the System.IO namespace. To use these classes, you will usually include the following STATEMENT near the top of your program: using System.IO;



Discussion

No Comment Found

Related InterviewSolutions