/*
C#: The Complete Reference
by Herbert Schildt
Publisher: Osborne/McGraw-Hill (March 8, 2002)
ISBN: 0072134852
*/
// Demonstrate Concat().
using System;
public class ConcatDemo {
public static void Main() {
string result = String.Concat("hi ", 10, " ",
20.0, " ",
false, " ",
23.45M);
Console.WriteLine("result: " + result);
}
}
|