Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB.NET: identifier for TAB?

Tags:

.net

vb.net

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

There are many choices:

  • vbTab
  • ControlChars.Tab
  • A constant (or public member) in my application set to Chr(9)

What is best practice? And why?

like image 271
Peter Mortensen Avatar asked Sep 11 '09 12:09

Peter Mortensen


1 Answers

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

like image 189
ccalboni Avatar answered Oct 12 '22 13:10

ccalboni