Czytanie z pliku vb.net

Imports System.IO 'At the very start

Using file As StreamReader = New StreamReader(filePath)
  Do 'Loops through everything in the file
    
    Dim currentLine = file.ReadLine() 'Returns the current line then moves on.
    
  Loop Until file.EndOfStream
End Using
dunk shot enthusiast