// Declare strings
string firstName = "Mahesh";
string lastName = "Chand";
// Concatenate two string variables
string name = firstName + " " + lastName;
Console.WriteLine(name);
public static string Concat (string str1, string str2);
string string1 = "c# is little bit";
string string2 = " tough at start only";
Console.WriteLine("------------Concatination--------------");
Console.WriteLine(string1+string2);
Console.WriteLine ("text"+Var);
string str1 = "ppp";
string strRes = str1.Insert(2, "bbb");
Console.WriteLine(strRes.ToString());