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
Q32: Every member of the File class is
Q33: StreamWriter outputFile = new StreamWriter("someOutputFileName");
StreamReader inputFile =
Q34: The StreamReader class is used to create
Q35: When you close a file, no arguments
Q36: No exception is thrown if you attempt
Q38: The File, FileInfo, Directory, and DirectoryInfo classes
Q39: StreamReader inFile = new StreamReader("name.txt"); while ((inValue
Q40: When you place an @ in front
Q41: Which method, used with the StreamWriter class,
Q42: Which method is used to cause the
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