Mega Code Archive

 
Categories / C# / Data Types
 

Demonstrate verbatim literal strings

/* C#: The Complete Reference  by Herbert Schildt  Publisher: Osborne/McGraw-Hill (March 8, 2002) ISBN: 0072134852 */ // Demonstrate verbatim literal strings.    using System;    public class Verbatim {       public static void Main() {         Console.WriteLine(@"This is a verbatim  string literal  that spans several lines.  ");      Console.WriteLine(@"Here is some tabbed output:  1  2  3  4  5  6  7  8  ");      Console.WriteLine(@"Programmers say, ""I like C#.""");    }     }