Concat - Concatenate Two Strings in C#

Concat - Concatenate Two Strings in C#


using System;

public class Program
{
    public static void Main()
    {
        Console.WriteLine("Concat - Concatenate Two Strings in C#\n");
        string s1 = "Lorem Ipsum";
        string s2 = " is simply dummy text";
        string sResult = string.Concat(s1, s2);
        Console.WriteLine(sResult);
    }
}
DEMO
Concat - Concatenate Two Strings in C# Concat - Concatenate Two Strings in C# Reviewed by Bhaumik Patel on 4:01 AM Rating: 5