Multiple Choice
If a program does not include exception handling,what will happen when a data file is opened with the StreamReader object and the file does not exist?
A) A file will be created.
B) The next available file on the disk will be opened.
C) A dialog box will automatically appear allowing the user to find the correct name or location of the file.
D) An unhandled exception will occur,causing the program to fail.
Correct Answer:

Verified
Correct Answer:
Verified
Q25: The standard Windows OpenFileDialog component can be
Q26: In order to append data to an
Q27: Sometimes,a project will need to save the
Q28: Visual Studio handles data files using streams.Explain
Q29: My.Computer.FileSystem.WriteAllText(FileName,StringToWrite,AppendBoolean)_.<br>A)creates a database file<br>B)creates a text file<br>C)is
Q31: If you intend to write data to
Q32: Which of the following steps does NOT
Q33: You must use the Retrieve method in
Q34: You can use _ in order to
Q35: Data elements that are added to a