VB.NET:标识标签?标识、标签、VB、NET

2023-09-05 00:03:29 作者:又别

我应该使用TAB什么标识(如输出到文本文件)?

What identifier should I use for TAB (e.g. for output to text files)?

有很多选择:

vbTab ControlChars.Tab 在一个常数(或公有成员)在我的应用程序设置为CHR(9)

什么是最好的做法?为什么?

What is best practice? And why?

推荐答案

赞许的ControlChars.Tab! VB *常量在那里为向后兼容性,避免它们。

Thumb up for ControlChars.Tab! vb* constants are there for backward compatibility, avoid them.

 
精彩推荐