White space is preserved with verbatim strings. : At : Language Basics C# Source Code


Custom Search

C# Source Code » Language Basics » At »

 

White space is preserved with verbatim strings.








    
 
using System;
using System.Text;

class StringApp {
    static void Main(string[] args) {
        string myLongString = @"This is a very
            very 
            very 
            long string";
        Console.WriteLine(myLongString);

    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Language Basics
» At