Visual Basic Vs Csharp

Apart from syntax, what are the differences between VB.NET (VisualBasicDotNet) and C# (CsharpLanguage)?

You can't do everything with VB.net that you can do with C#. Examples:

Does the opposite also hold, i.e. is there anything you could do with VB.net, but not with C#?

True, the last two don't extend the capabilities of the language but can have a productivity boost. The main thing VB-er's seem to really dislike about C# is case-sensitivity. (Not all though, I don't mind it at all.)


I've used both since the first betas of Visual Studio .NET and I can say they're strikingly similar. Granted, the Visual Basic syntax and style is somewhat different, but the CLR (Common Language Runtime) environment that all .NET langs have to fit in kind of sets a standard mold that is easy to see after little exposure. There isn't anything one can do in C# that can't be done just as easily in Visual Basic.

In fact, the first thing many people tell me after seeing C# and VB 7, is that they're so much the same now. This, of course, was one of Microsoft's goals. -- JeffPanici


EditText of this page (last edited June 15, 2014) or FindPage with title or text search