Imports System.IO Public Class Tester Public Shared Sub Main Dim trNewFile As System.IO.TextReader trNewFile = New IO.StreamReader("test.txt") Console.WriteLine(trNewFile.ReadToEnd()) End Sub End Class