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:

Verified
Correct Answer:
Verified
Q34: If an invalid path is included with
Q35: Which of the following class belongs to
Q36: The _ class provides static methods that aid
Q37: A structure is a special form of value
Q38: No exception is thrown if you attempt
Q40: To avoid fully qualifying references to objects
Q41: Streams are also used in C# to
Q42: The Execution version of an application contains
Q43: Instead of hard coding the actual filename
Q44: Assume that an object of the DirectoryInfo