KItis
0
Q:

string.insert c#

//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"
1
public string Insert(int Indexvalue, string value)
0

New to Communities?

Join the community