Check out example codes for "c# string methods". It will help you in understanding the concepts better.

Code Example 1

string string1 = "Today is " + DateTime.Now.ToString("D") + ".";
Console.WriteLine(string1);

string string2 = "This is one sentence. " + "This is a second. ";
string2 += "This is a third sentence.";
Console.WriteLine(string2);

Code Example 2

private string text;

Console.WriteLine(text);

Learn ReactJs, React Native from akashmittal.com