Multiple Choice
StreamReader inFile = new StreamReader("name.txt") ; while ((inValue = inFile.ReadLine() ) != null)
What does the above statement do?
A) Retrieves one line of text from an input file.
B) Retrieves a single character from an input file.
C) Checks to see if the file is null.
D) Reads every line from an input file.
Correct Answer:

Verified
Correct Answer:
Verified
Q14: When you place an @ in front
Q15: When you close a file, no arguments
Q16: The most appropriate programmer-defined enumeration identifier for
Q17: None of the of the method named in
Q18: A data stream is the flow of
Q20: StreamWriter outputFile = new StreamWriter("someOutputFileName");<br>StreamReader inputFile =
Q21: If an invalid path is listed in
Q22: The StreamReader's Peek( ) method returns the
Q23: The StreamReader class is most often used
Q24: BinaryReader and BinaryWriter classes _.<br>A) expose only