previous
|
start
|
next
Strings (Concatenation)
The + operator concatenates two strings.
string fname = "Harry"; string lname = "Hacker"; string name = fname + " " + lname;
One or both strings surrounding the + must be a variable.
previous
|
start
|
next