Multiple Choice
If you attempt to open a file with the Open file mode, what happens if the file does not exist?
A) The file is created and then opened for use.
B) The program returns a prompt to the user asking if the file should be created.
C) The program will return a null object, and all data written to the file will be discarded.
D) The program throws a System.IO.FileNotFoundException error.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: When you copy data from a file
Q2: Hardcoding numbers (unnamed, literal constants) in code
Q3: A program that reads from a sequential
Q4: What is the process of converting objects
Q5: A data file is what type of
Q7: What format is used by files that
Q8: The FileStream class has 15 overloaded constructors.What
Q9: What must be done in order to
Q10: What are the disadvantages to writing data
Q11: What is a character?