📅  最后修改于: 2022-03-11 14:49:14.232000             🧑  作者: Mango
代码示例1
public string ReplaceInvalidChars(string filename)
{
return string.Join("_", filename.Split(Path.GetInvalidFileNameChars()));
}