StreamReader inFile = new StreamReader("name.txt") ;
while ((inValue = inFile.ReadLine() ) != null)
-Using the above segment of code,inValue would be defined as what type of data?
A) StreamReader
B) int
C) text
D) string
Correct Answer:
Verified
Q22: To invoke File's Copy( ) method to
Q24: StreamWriter outputFile = new StreamWriter("someOutputFileName");
StreamReader inputFile =
Q26: StreamReader inFile = new StreamReader("name.txt");
while ((inValue =
Q26: If an invalid path is included with
Q28: Binary files can not be read using
Q29: The abstract classes of Stream, TextWriter, and
Q31: None of the of the method named in
Q31: StreamWriter outputFile = new StreamWriter("someOutputFileName");
StreamReader inputFile =
Q32: Every member of the File class is
Q36: No exception is thrown if you attempt
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