String concatenation : String Concat « String « C# / CSharp Tutorial






using System;
using System.Collections.Generic;
using System.Text;


  class Program
  {
    static void Main(string[] args)
    {
      string s1 = "A ";
      string s2 = "B";
      string s3 = string.Concat(s1, s2);
      Console.WriteLine(s3);
    }
  }








5.8.String Concat
5.8.1.Append strings using Concat()
5.8.2.Concatenate string with integers
5.8.3.Mix string and integer in string cancatenation
5.8.4.Concatenate string with non-strings
5.8.5.String concatenation
5.8.6.Concat method with a String array.