Reputation: 86075
There are a bunch of constants like vbTab in VB.Net, is there corresponding one in C# ?
Upvotes: 6
Views: 12613
Reputation: 8521
There is not an exact corresponding set of constants oriented for C#. Certain constants are simply represented in string form (e.g., "\t"
for vbTab
).
I would suggest not referencing the Microsoft.VisualBasic
assembly to use those constants. That namespace mainly exists to support migration of legacy VB6 applications.
Upvotes: 17