Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

VbCrLf Alternative in C# = Environment.NewLine

with 2 comments

You can use Environment.NewLine for the vbCrLf constant in C#. It inserts \r\n. So instead of entering constants \r\n, use Environment.NewLine.


Written by Manish

April 23, 2007 at 7:43 am

Posted in Uncategorized

2 Responses

Subscribe to comments with RSS.

  1. oh good article 😀

    October 15, 2009 at 11:39 am

  2. Good… Thanks

    Kamalpreet Litt

    August 26, 2010 at 1:30 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: