Check out example codes for "c# insert character into string at position". It will help you in understanding the concepts better.

Code Example 1

//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"

Learn ReactJs, React Native from akashmittal.com