📅  最后修改于: 2022-03-11 14:49:13.154000             🧑  作者: Mango
//Insert method returns a copy, it does not alter the string since strings are immutable
string str = "abc";
str = str.Insert(2, "XYZ"); //str == "abXYZc"