using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace stringCont
{
class Program
{
static void Main(string[] args)
{
string str1 = "Mahesh";
string str2 = "Chand";
Console.WriteLine("Before Concatentaion");
Console.WriteLine(str1);
Console.WriteLine(str2);
str1 += str2;
Console.WriteLine("After Concatentaion");
Console.WriteLine(str1);
Console.Read();
}
}
}
Point to be noted
1. You can use operator + for this purpose
2. You can use += also. I have used += to solve your purpose.
Happy Coding