When do you use the + operator in C #?

When one or both operands are of type string, the + operator concatenates the string representations of its operands (the string representation of null is an empty string): Console.WriteLine (“Forgot” + “white space”); Console.WriteLine ("Probably the oldest constant: " + Math.PI); Console.WriteLine (null + “Nothing to add.”);
For More Information Please Refer:


You May Also Like to Read: