/* Mastering Visual C# .NET by Jason Price, Mike Gunderloy Publisher: Sybex; ISBN: 0782129110 */ /* Example2_9.cs illustrates the use of strings */ public class Example2_9 { public static void Main() { string helloWorld = "Hello World!"; System.Console.WriteLine(helloWorld); helloWorld = "Hello World" + " from C#!"; System.Console.WriteLine(helloWorld); helloWorld = "Hello World" + " from C#!"; System.Console.WriteLine(helloWorld); const double Pi = 3.14159; System.Console.WriteLine("Pi = " + Pi); } }