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

Answer: D

Computer Science & Information Technology

You might also like to view...

What is a base case?

What will be an ideal response?

Computer Science & Information Technology

StreamWriter method __________ closes the stream and the corresponding file.

a) StreamClose b) TerminateIO c) FileClose d) Close

Computer Science & Information Technology