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