Append strings using Concat()
using System;
class MainClass {
public static void Main() {
string result = String.Concat("This ", "is ", "a ",
"test ",".");
Console.WriteLine("result: " + result);
}
}
Output result: This is a test .
|
HTML code for linking to this page:
Related in same category :
-
-
-
|