Solved

If a StreamReader Object Named Reader Is Instantiated and Associated

Question 39

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