开发者

Convert constants from vb to c#

There are a bunch of constants li开发者_运维知识库ke vbTab in VB.Net, is there corresponding one in C# ?


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜