Mega Code Archive

 
Categories / C# / Development Class
 

Gets the newline string defined for this environment

using System; class Sample  {     public static void Main()      {     Console.WriteLine("NewLine: {0}  first line{0}  second line{0}  third line",                           Environment.NewLine);     } }