use of concatenation string in C#
For Example: Write a program to demonstrate the use of concatenation string
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication7
{
class Program
{
static void Main(string[] args)
{
string s1 = "Computers";
// ... Add another string to the start.
string s2 = "Aryan" + s1;
Console.WriteLine(s2);
Console.ReadLine();
}
}
}
Output:
Comments
Post a Comment