Imports System.IOPublic Class Tester Public Shared Sub Main Dim f As File f.Delete("test.txt") End SubEnd Class