VB.NET vs C#

By ecliptic

Uh oh… not another one of these threads.

I have developed applications in both C# and VB.NET. If you’re an OO programmer, you’re obviously pointing your nose up to the disgrace of VB6, and righteously so, but don’t be so quick to judge on VB.NET.

If you are not already familiar with the .NET framework, it is a power house collection of classes that are beautifully designed. Now, coming from a shop that had VB6 as a primary language, I was a bit skeptical about VB.NET, but I have turned a new leaf. From what I can tell, you can apply all of the OO design you want in VB.NET just as well as C#.

MS has done a bang-up job with VB.NET (and the .NET framework itself for that matter). What used to be lacking was the XML comments, but with ASP.NET 2.0 and VS 2005 that once empty void has been filled with the three single quotes and intellisense. So, next time you decide on which language to use in the .NET framework, my answer to you is the one easiest for you. Honestly, C# is probably less writing (the whole Dim blah as Type can be rather annoying), but the semantics are exactly the same. Enjoy!

Leave a Reply