VB.net对C#.NET [英] VB.net vs C#.net

查看:136
本文介绍了VB.net对C#.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C,C ++和Visual Basic非常好。
我应该学会VB.net或C#.NET?我发现,这是可以使用Visual Studio编译VB和C#应用程序。这是否意味着这两种语言都是一样的,但是不同了Syntex?

i am very good in c,c++ and visual basic.
should i learn VB.net or c#.net? i found that it is possible to use visual studio to compile both VB and C# applications. does this mean that both languages are the same but with different syntex?

推荐答案

这两种语言都非常相似的功能明智的。有一些小的差异,例如C#支持指针和不安全code和VB.net支持XML的文字。

Both languages are very similar feature wise. There are a few smaller differences, for example C# supports pointers and unsafe code, and VB.net supports XML-Literals.

但主要是这其中只有一个选择,语法,preFER。

But mainly it's just a choice of which syntax you prefer.

和我想你会发现更多的样品code C#编写的,但其转换为VB应该是微不足道的。

And I think you'll find more sample code written in C#, but converting it to VB should be trivial.

此外,由于语言是如此的相似,一旦你知道一个你可以学习其他在几天之内。

And since the languages are so similar once you know one you can learn the other in a matter of days.

和微软打算保持语言关闭功能明智:
VB和C#共同进化

And Microsoft intends to keep the languages close feature-wise:
VB and C# co-evolution

这篇关于VB.net对C#.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆