When you close a file, no arguments are sent to the method; however, the Close( ) method must be called with a file object such as fileObjectInFile.Close( ).
Correct Answer:
Verified
Q30: Which of the following class belongs to
Q31: None of the of the method named in
Q32: Every member of the File class is
Q33: StreamWriter outputFile = new StreamWriter("someOutputFileName");
StreamReader inputFile =
Q34: The StreamReader class is used to create
Q36: No exception is thrown if you attempt
Q37: StreamReader inFile = new StreamReader("name.txt");
While ((inValue =
Q38: The File, FileInfo, Directory, and DirectoryInfo classes
Q39: StreamReader inFile = new StreamReader("name.txt"); while ((inValue
Q40: When you place an @ in front
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