Concatenating two strings using string.concat in C#.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under ASP.NET category on | Points: 40 | Views : 283
Usually we combine the string using "+" operator,see below code to join the two string using string.Concat method.

string firtName = "vishal ";
string SecondName = "neeraj";
Response.Write(string.Concat(firtName,SecondName));

Comments or Responses

Login to post response