Answer the following statements true (T) or false (F)

1. The following statement could be used to set the Filter property of the OpenFileDialog
control so that it displays files with the .txt extension.
Text Files (*txt)|*.txt
2. To get rid of an existing closed file, execute a statement of the form
IO.File.Delete(filespec).
3. Text files are updated by opening them for Input and then entering the new data.
4. The value of sr.EndOfStream is True when the end of file accessed by the StreamReader is
reached.
5. The following code is valid.
Dim filespec As String
filespec = InputBox("Enter name of file to process:")
Dim sr As IO.StreamReader = IO.File.OpenText(filespec)

1. T
2. T
3. F
4. T
5. T

Computer Science & Information Technology

You might also like to view...

You download Windows apps from the Windows Store

Indicate whether the statement is true or false

Computer Science & Information Technology

A call to the base class's constructor is specified in the heading of the definition of a derived class constructor.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology