Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple tab question [duplicate]

Tags:

c#

Possible Duplicate:
Programmatically using tab character in .NET?

Is there an equivalent value for "\t" as System.Environment.NewLine is to "\r\n"?

I am looking for something built into the framework. I know it is a trivial question, but I couldn't find anything during my googling session. I am hoping/wishing this exists.

Thanks!

like image 936
JustBrowsing Avatar asked Jul 22 '26 17:07

JustBrowsing


1 Answers

Newline varies from platform to platform but tab does no, so it should be safe to use "\t" . I guess you could create a const and use it for sanity.

like image 53
Bala R Avatar answered Jul 25 '26 10:07

Bala R



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!