Imports System.IOpublic class Test public Shared Sub Main For Each ch As Char In Path.GetInvalidPathChars() Console.WriteLine(ch) Next ch End SubEnd class