Imports System.IO
Module Module1
Sub Main()
Dim SourceFile As StreamReader
Try
SourceFile = New StreamReader("test.txt")
Console.WriteLine(SourceFile.ReadToEnd())
SourceFile.Close()
Catch Except As Exception
Console.WriteLine("Debug file does not yet exist")
End Try
End Sub
End Module
Java examples (example source code) Organized by topic
...