C#语言————拼接、插入、替换、删除四种方法
StringBuilder sb = new StringBuilder("hello");
sb.Append("world");//拼接
sb.Insert(5,",");//插入
sb.Replace(",","-");//替换
//sb.Remove(2,3);//删除
Console.WriteLine(sb);