Answers for "how to concatenate two strings in c#"

C#
2

how to concatenate two strings in c#

using System;

namespace Concatenate{
  
	public class Program{
      	public static void Main()
      	{
          	string firstWord = "Hello";
          	string secondWord = " World!";

          	string concatenated = firstWord + secondWord;

          	Console.WriteLine(concatenated);
		}
  	}
}
Posted by: Guest on August-28-2021

Code answers related to "how to concatenate two strings in c#"

C# Answers by Framework

Browse Popular Code Answers by Language