If a StreamReader object named reader is instantiated and associated with a file stored in the project directory named "test.dta", which of the following statements would check to see if the "test.dta" exists?
A) if (File.Exists("test.dta") )
B) if (File.Exists(reader) )
C) if (reader.Exists("test.dta") )
D) if (reader.Exists( ) )
Correct Answer:
Verified
Q54: Objects of streams can be wrapped with
Q55: In order to remove a StreamWriter object
Q56: Which of the following is an abstract
Q57: Which of the following class has public
Q58: The most appropriate programmer-defined enumeration identifier for
Q60: Which exception is thrown when an attempt
Q61: The _ class makes it easy to
Q62: To ensure that the data is usable for
Q63: A(n) _ is considered a named collection
Q64: The files created using the _ class
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