15 Apr 2017
A cheat sheet outlining the syntax differences between VB.NET and C#. This post is written specifically for advanced C# developers with little to no VB.NET knowledge who need to do some VB.NET coding.
Because some things are just so similar but still confusingly different in VB.NET vs C#…
Along the way we’ll make some amazing discoveries like:
- There are things VB.NET just can’t do (pointers, …)
- There are a few cases where VB.NET code is shorter than it’s C# counterpart (gasp!)
- VB.NET defaults are not what you might expect from a strongly typed language due to its VB6 legacy (Option Strict, Explicit)
- There is some VB.NET only stuff that comes in handy from time to time