|
-
Mar 16th, 2007, 12:05 AM
#1
Thread Starter
Just Married
[RESOLVED] [2.0] New line
Hi all
What I use for the new line in C#.Net as we use th VbNewLine in the VB.NET, what for the c#.
-
Mar 16th, 2007, 12:21 AM
#2
Re: [2.0] New line
We shouldn't use the vbNewLine in VB.NET; we should use the Environment.NewLine or the ControlChars.NewLine.
You can use Environment.NewLine in C# also, but if you're programming only for Windows then it's easier to use the literal string "\r\n".
-
Mar 16th, 2007, 12:55 AM
#3
Thread Starter
Just Married
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|