Solved

If a StreamReader Object Named Reader Is Instantiated and Associated

Question 59

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents