programming-examples/c-sharp/Strings/C# Program to Concatenate Two Strings.cs

18 lines
305 B
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
/*
* C# Program to Concatenate Two Strings
*/
using System;
class Program
{
static void Main()
{
string s1 = "Good";
string s2 ="Morning";
string s3=string.Concat(s1, s2);
Console.WriteLine(s3);
Console.ReadLine();
}
}
/*
GoodMorning