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