- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
private static string RemoveInvalidChars(string source)
{
foreach (var c in invalidChars)
source = source.Replace(c.ToString(), "");
return source;
}
public static string Validate(string source)
{
source = RemoveInvalidChars(source);
return source;
}