Solved

Environment.NewLine

Posted on 2009-05-19
3
404 Views
Last Modified: 2013-12-17
Hi

If Environment.NewLine is for new line

Is there anything for Tab
0
Comment
Question by:KaranGupta
  • 2
3 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 24428953
the tab, in the string, is marked like this:
"\t"
0
 

Author Comment

by:KaranGupta
ID: 24428987
Yes

we can use \n for new line but .net gives is Environment.NewLine

Is there something like that for tab
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 24429062
no.

the newline is in the environment, because it depends on the "environment", aka the platform compiled.
on windows, the newline is actually newline + carriage return: \n\r, on unix it's only \n.

tab is everywhere tab, so not depending on environemtn,.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question