Solved

StreamReader InFile = New StreamReader("name.txt");

Question 26

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents