albert
0
Q:

c# string methods

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);
2
private string text;

Console.WriteLine(text);
-1

New to Communities?

Join the community