Challenge: Strings
Use string concatenation to join and output the three strings strA, strB and strC:
main.cs
123456789101112131415161718using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { string strA = "The "; string strB = "sentence is "; string strC = "complete."; // Write code below this line Console.WriteLine(___); // Write code above this line } } }
String Concatenation is the process of jointing two strings using the + operator.
main.cs
123456789101112131415161718using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { string strA = "The "; string strB = "sentence is "; string strC = "complete."; // Write code below this line Console.WriteLine(strA + strB + strC); // Write code above this line } } }
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 7
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 1.59
Challenge: Strings
Swipe to show menu
Use string concatenation to join and output the three strings strA, strB and strC:
main.cs
123456789101112131415161718using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { string strA = "The "; string strB = "sentence is "; string strC = "complete."; // Write code below this line Console.WriteLine(___); // Write code above this line } } }
String Concatenation is the process of jointing two strings using the + operator.
main.cs
123456789101112131415161718using System; namespace ConsoleApp { internal class Program { static void Main(string[] args) { string strA = "The "; string strB = "sentence is "; string strC = "complete."; // Write code below this line Console.WriteLine(strA + strB + strC); // Write code above this line } } }
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 7