StreamWriter outputFile = new StreamWriter("someOutputFileName") ;
StreamReader inputFile = new StreamReader("someInputFileName") ;
-The identifier that can be referenced in a WriteLine( ) method with the declaration above is ____.
A) someOutputFileName
B) someInputFileName
C) outputFile
D) inputFile
Correct Answer:
Verified
Q6: To programmatically avoid having a FileNotFoundException or
Q16: All attempts to access text files should
Q21: The _ class has implementations for Write(
Q23: Instead of hard coding the actual filename
Q26: If an invalid path is included with
Q26: StreamReader inFile = new StreamReader("name.txt");
while ((inValue =
Q29: The abstract classes of Stream, TextWriter, and
Q29: StreamReader inFile = new StreamReader("name.txt");
while ((inValue =
Q36: No exception is thrown if you attempt
Q38: The File, FileInfo, Directory, and DirectoryInfo classes
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents