Path.GetInvalidPathChars
Imports System Imports System.IO Imports System.Windows.Forms Public Class MainClass Shared Sub Main() For Each ch As Char In Path.GetInvalidPathChars() Console.Write(ch & " ") Next ch End Sub End Class