一些小技巧收集,持续更新。

//去除字符串所有的空格 
string myString=Regex.Replace(myString, @"s", "")
原文地址:https://www.cnblogs.com/jicheng/p/9071946.html