Basic C# Concatnation In Console Application For Beginners

Step 1: Select Visual Studio from Start Menu.

Step 2: Click New Project and select Console Application. Give the Application name and click OK.

console
 
Step 3: Write the code for concatenation program.

Concatenation
 
To display, use console.Writeline.

console
 
To get the value from the user, use consoleReadline ().

consoleReadline
 
 + operator is used to concatenate two strings.

concatenate
 
Step 4: Output of the program is given below:

Output
Next Recommended Reading Use Log4Net in C# Console Application