开发者

Simple tab question [duplicate]

开发者 https://www.devze.com 2023-02-15 00:34 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: Programmatically using tab character in .NET?
This question already has answers here: Closed 11 years ago.

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开发者_如何学JAVA't find anything during my googling session. I am hoping/wishing this exists.

Thanks!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消