Escape sequences in strings : Escape sequences : Data Type C# Examples


C# Examples » Data Type » Escape sequences »

 

Escape sequences in strings









    
using  System;  
  
class  Example  {        
    public  static  void  Main()  {        
        Console.WriteLine("Line  One\nLine  Two\nLine  Three");  
    }        
}
    
   
  
   



Output

Line One
Line Two
Line Three


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Escape sequences