Roadmap › 1. .NET › Step 8
VB

VB.NET — Visual Basic .NET from Basics to Advanced (with C# Comparison)

VB.NET syntax and program structure, data types and Option Strict/Explicit/Infer, operators and control flow, procedures (Sub vs Function, ByVal/ByRef, Optional, ParamArray), arrays and collections, classes and OOP keywords (Inherits, Implements, Overridable, MustInherit, Shadows), properties, modules and Shared members, events and delegates (WithEvents/Handles/AddHandler), error handling (Try/Catch and legacy On Error), LINQ and XML literals, async, WinForms and Web Forms code-behind, and converting VB.NET to C#.
Quick revision for interview day. Print it or save it as a PDF.

Keyword map VB → C#

Dim x As T → T x · Sub/Function → void/method · Me/MyBase → this/base · Shared/Module → static · Nothing → null · Inherits/Implements → : · MustInherit/MustOverride → abstract · Overridable/Overrides → virtual/override · NotInheritable → sealed · Friend → internal · Shadows → new.

Operators

= equality · <> not equal · & concat · \ int division · Mod · ^ power · AndAlso/OrElse short-circuit · Is/IsNot reference · If(c,a,b) ternary · If(x,y) null-coalesce.

Must-know settings

Option Strict On · Option Explicit On · Option Infer On · arrays declare upper bound · (Of T) generics · arr(i) indexing.

Events

Event + RaiseEvent · WithEvents + Handles · AddHandler/RemoveHandler + AddressOf.

Migration

Option Strict first → tests → extract logic to libraries → convert libraries → rebuild UI in ASP.NET Core (strangler) → watch 1-based string functions and integer division.