Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- const string newLineLiteral = @"
- "; // Tab/Enter
- Console.WriteLine(newLineLiteral == Environment.NewLine); // true
- const string newLineChars = "\r\n";
- Console.WriteLine(newLineChars == Environment.NewLine); // true
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement