1

I am well versed with coding in C# but now I have to code in VB.Net. So for learning sake is there any article/list out there that can tell me that like

  C#          |       VB.Net

abstract      |     MustInherit
 sealed       |    NotInheritable
Nikhil Agrawal
  • 47,018
  • 22
  • 121
  • 208
  • 1
    I'm not sure that this is a good idea, as there are some differences (in particular with respect to events and modules). Why don't you want to browse through a textbook on VB.Net and mark the important points yourself? – JohnB Aug 25 '12 at 05:56
  • http://www.codeproject.com/Articles/9978/Complete-Comparison-for-VB-NET-and-C – Habib Aug 25 '12 at 05:58
  • @Habib: How about that as an answer? – Nikhil Agrawal Aug 25 '12 at 06:02
  • Have a look at some existing questions. [What are the differences between C# and VB.Net](http://stackoverflow.com/questions/523722/what-are-the-differences-between-c-net-and-visual-basic-net). Also advice on learning VB.Net for C# programmers. [This question](http://stackoverflow.com/questions/684821/whats-the-best-way-for-a-c-sharp-developer-to-learn-vb) and [this question](http://stackoverflow.com/questions/4790772/converting-myself-from-c-sharp-to-vb-net) – MarkJ Aug 25 '12 at 06:18
  • @NikhilAgrawal, just noticed this article in one of the answers :), I believe the comment has served the purpose :) – Habib Aug 25 '12 at 06:23
  • ... and [this question](http://stackoverflow.com/questions/1337253/converting-c-sharp-knowledge-to-vb-net-any-potential-problems) – MarkJ Aug 25 '12 at 06:28

2 Answers2

4

http://www.harding.edu/fmccown/vbnet_csharp_comparison.html --> Good comparison chart

The Internet
  • 7,959
  • 10
  • 54
  • 89
1

Here is one from 2005, but very well written: http://www.codeproject.com/Articles/9978/Complete-Comparison-for-VB-NET-and-C

Here is another: http://www.harding.edu/fmccown/vbnet_csharp_comparison.html

I suggest two alternatives:

  • Use a decompiler which allows you to choose the target language like ILSpy.
  • There are code translators like this one.

In any case you will have to pick a good book about VB.NET to learn the subtile differences between both languages.

Theo Lenndorff
  • 4,556
  • 3
  • 28
  • 43