String Concatenation
suggest changeString Concatenation can be done by using the System.String.Concat
method, or (much easier) using the \+
operator:
string first = "Hello ";
string second = "World";
string concat = first + second; // concat = "Hello World"
concat = String.Concat(first, second); // concat = "Hello World"
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents