C# concatenate strings using $ code example
Example 1: c# String.Concat()
string first = "hello_";
string second = "world";
/* Unite multiple strings to one new string*/
string third = String.Concat(first, second);
// string third will be now "hello_world"
Example 2: c# Add or Concatenate Strings In C#
string str1 = "ppp";
string strRes = str1.Insert(2, "bbb");
Console.WriteLine(strRes.ToString());