Solved

Which of the Following Statements Is Used When You Want

Question 58

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions