×
×
Correct!
Use the correct operator to concatenate two strings:
string firstName = "John ";
string lastName = "Doe";
string name = firstName @(1) lastName;
Console.WriteLine(name);
string firstName = "John ";
string lastName = "Doe";
string name = firstName + lastName;
Console.WriteLine(name);
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?