Menu
×
×
Correct!
Exercise:Use the correct operator to concatenate two strings:
string firstName = "John ";
string lastName = "Doe";
string name = firstName + lastName;
Console.WriteLine(name);
Not CorrectClick here to try again. Correct!Next ❯string firstName = "John "; string lastName = "Doe"; string name = firstNamelastName; Console.WriteLine(name); |