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.
Answer: D
Computer Science & Information Technology
You might also like to view...
Which of the following operators can be overloaded as a non-member function?
a. () b. [] c. += d. ==
Computer Science & Information Technology
An HTML table is comprised of ____ and ______
a. lines and text b. headers and body c. rows and columns d. none of the above
Computer Science & Information Technology
You can use the ________ feature to resize a column to accommodate the longest entry
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
The visible spectrum is composed of how many distinct colors?
What will be an ideal response?
Computer Science & Information Technology