Difference Between C# and VB

This is a beautiful interview trivia question: What is the major difference between C# and VB?

Answer: In C# you can write “unsafe” code, i.e., code involving pointers, whereas in VB you cannot.

Update 20 February 2008

Also, VB does not have anonymous methods.

19 February 2008 | .NET, Software engineering, C# | Comments

Comments:

  1.  
  2.  
  3.