📅  最后修改于: 2022-03-11 14:49:09.984000             🧑  作者: Mango
代码示例1
string input; // this is your input string
string output = new string(input.Where(c => !char.IsControl(c)).ToArray());