Define and use Const value
Imports System Public Class MainClass Private Const strFileName As String = "test.txt" Shared Sub Main() System.Console.WriteLine(strFileName) End Sub End Class