string.Concat
èµ·ãã ç¾è±¡ public static class x { public static string f( string input ) { var targets = Path.GetInvalidFileNameChars(); var intermediate = from c in input where !targets.Contains( c ) select c; var result = string.Concat( intermediate )â¦