Multiple Choice
Which of the following statements is used when you want to add data to the end of an existing text file?
A) Dim sr As IO.StreamReader = IO.File.OpenText("Data.txt")
B) Dim sr As IO.StreamReader = IO.File.AddText("Data.txt")
C) Dim sw As IO.StreamWriter = IO.File.CreateText("Data.txt")
D) Dim sw As IO.StreamReader = IO.File.AppendText("Data.txt")
Correct Answer:

Verified
Correct Answer:
Verified
Q53: A statement of the form IO.File.WriteAllLines("fileName.txt", numArray)
Q54: Comment statements in XML begin with <!--
Q55: Placing the statement Imports System.IO near the
Q56: The following statement causes the Open dialog
Q57: The XML standard was recommended by the
Q59: An XML file can contain several root
Q60: Opening a file for input means that<br>A)
Q61: Before a text file can be opened
Q62: To get rid of an existing closed
Q63: When an existing file is opened for