Write a Do clause that reads each line of text in a sequential access file and assigns the line to thestrTextLinevariable. Process the loop until the end of the file has been reached. The file is associated with a StreamReader variable namedinFile.

What will be an ideal response?

Do Until inFile.Peek = -1
strTextLine = inFile.ReadLine
Loop

Computer Science & Information Technology

You might also like to view...

A snip is a capture of a screen display that you can save

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is a double-selection control statement?

a) do…while b) for c) if…else d) if

Computer Science & Information Technology