Menu
×
×
Correct!
Exercise:Use the string interpolation method to concatenate two strings:
string firstName = "John";
string lastName = "Doe";
string name = @(1)"My full name is: @(11) @(10)";
Console.WriteLine(name);
string firstName = "John";
string lastName = "Doe";
string name = $"My full name is: {firstName} {lastName}";
Console.WriteLine(name);
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?