C# Program to merge multiple string values in the output

C# Program to merge multiple string values in the output. In this program we can merge multiple string values in the output. The process of combining two sets of data into one. The output data may be in their original order or reordered according to the key field or some other attribute.

using System;

namespace Main
{
class Program
{
static void Main(string[] args)
{
string text1 = "Welcome to ";
string text2 = "Inlarn";
string fulltext = text1 + text2;
Console.WriteLine(fulltext);
}
}
}

Welcome to Inlarn

What is string and why it is null terminating character

An object with text as its value is a string. The text is stored in a sequential read-only collection of Char objects. C# strings have no null-terminating character, so any number of null characters (“0”) can be inserted into them. Anything in the string that would normally be interpreted as an escape sequence is ignored as a result of this behaviour. Unless you want to use an escape sequence to remove the double quote, there’s no way around this. There must be a double quote between each pair of double quotes.