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