从C#切换到VB.Net切换到、VB、Net

2023-09-04 02:54:17 作者:得寸进尺

我不知道这是否是一个傻瓜。我碰到这个Switching从VB.NET到C# - ?有何建议学习C#

I am not sure if this is a dupe. I came across this Switching from VB.NET to C# - any advice for learning C#?

我的情况是相反的。我会从C#移动到VB.Net。为了更precise,我会从C#3.0移动到VB 10.0(.NET 3.5到.NET 4.0)。我最初计划使用C#到VB转换器,以应对与语法。

My case is the reverse. I would be moving from C# to VB.Net. To be more precise, I would be moving from C# 3.0 to VB 10.0 (.Net 3.5 to .Net 4.0). I am initially planning to use a C# to VB converter to cope up with the syntax.

任何其他的建议是非常AP preciated。

Any other suggestions is highly appreciated.

推荐答案

据MS(我听到这个从MS项目经理VB.NET),程序员的C#和VB.Net的数量大致相同。因此,如果你相信他的话,这是不是一个真正的职业限制的举动。

According to MS (I heard this from the MS project manager for VB.NET), the number of programmers for C# and VB.Net are roughly the same. So if you believe him, it is not really a career limiting move.

C#和VB.Net正在进入一个共同发展的周期。两者之间的主要区别将主要语言的语法,而不是他们的能力。总是会有小的差异,就像我看不到VB.NET强制使用分号,我不能看到C#有自动语句结束。 pretty的任何东西,你可以在C#中你可以在VB.NET现在要做的。

C# and VB.Net are moving into a co-evolving cycle. The main difference between the two will primarily be the language syntax, and not their capabilities. There will always be small differences, like I can't see VB.NET forcing the use of semi-colons, and I can't see C# having automatic statement terminators. Pretty much anything you can do in C# you can do in VB.NET now.

我的建议是学习它是坐下来尝试和学习的语法。它不象从C#切换到F#,其中有在方法上的根本分歧。如果你发现自己在想,人我能做到这一点在C#中,机会是,与.net 4.0,你可以做到这一点在vb.net ....现在,如果你只知道一个QA编程板,你可以问如何做一些在vb.net通过给一个C#示例.....:)

My advice to learn it is to sit down and try and learn the syntax. It's not like switching from C# to F# where there are fundamental differences in approach. If you find yourself thinking, "Man I could do this in C#," Chances are, with .Net 4.0, you can do it in vb.net....now if you only knew a qa programming board you could ask about how to do something in vb.net by giving a C# example..... :)

 
精彩推荐
图片推荐