Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Strings Challenge | Dealing with Data Types
course content

Зміст курсу

C# Basics

Strings ChallengeStrings Challenge

Use string concatenation to join and output the three strings strA, strB and strC:

cs

main.cs

1. String Concatenation is the process of jointing two strings using the + operator.

using 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
        }
    }
}
      

Все було зрозуміло?

Секція 2. Розділ 7
course content

Зміст курсу

C# Basics

Strings ChallengeStrings Challenge

Use string concatenation to join and output the three strings strA, strB and strC:

cs

main.cs

1. String Concatenation is the process of jointing two strings using the + operator.

using 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
        }
    }
}
      

Все було зрозуміло?

Секція 2. Розділ 7
some-alt