VB.NET vs C#
Nicolas Galler | October 16, 2007The last project was in VB.NET – I had wanted to give it a try for a while, and it was a bit easier since this was a conversion from VB6. Overall it was rather pleasant. I had to install the refactor plugin separately but it is rather nicer than the default refactoring support in C#. The compiler also constantly verifies your code, a bit like having resharper in C#, but without having as much of a drag on the performance (doesn’t look quite as neat, though). The code doesn’t look as nice as C# in my opinion – I like the way the curly braces help to see the structure – but it is not nearly as bad as I had feared. Functionally there is very little difference… both procedural languages, you just have to know the keyword equivalences – GetType vs typeof etc. Will probably still stick with C# for future projects just out of habit and because of the limited benefit, but if I have to do another conversion from VB6 I won’t hesitate to use VB.NET.





