Mega Code Archive
Use the addition operator (+) to concatenate strings
using System;
class MainClass
{
public static void Main()
{
string myString6 = "To be, " + "or not to be";
Console.WriteLine("\"To be, \" + \"or not to be\" = " + myString6);
}
}
"To be, " + "or not to be" = To be, or not to be