VB.NET Interview Questions and Answers
VB.NET interview questions — how VB.NET maps to the CLR, differences from C#, Option Strict and Option Explicit, and working in mixed-language solutions.
7Questions
2Topics
Basic to IntermediateDifficulty
Fresher to 3–5 YrsExperience
- 01 What is late binding in VB.NET, and why is Option Strict important? Late binding is calling a member on an Object variable where the method is resolved at run time via reflection, not at…
- 02 What is the difference between a Module and a Class in VB.NET? A Module in VB.NET is like a C# static class — you can't instantiate it and all members are shared. But its members…
- 03 What does Nothing mean in VB.NET? Nothing in VB.NET is both null (for reference types) and the default value (for value types). Dim i As Integer =…
- 04 What is the difference between ByVal and ByRef in VB.NET? ByVal (the default in VB.NET) passes a copy — the method can't change the caller's variable. ByRef passes a reference…
- 05 What is the My namespace in VB.NET? My is a VB.NET convenience namespace that surfaces common framework functionality through a simple, discoverable API —…
- 06 What is the difference between VB.NET and C#? Both compile to the same IL and run on the same CLR, so they have the same capabilities and can be mixed in one…
- 07 What is Option Strict in VB.NET? Option Strict On makes the VB.NET compiler reject implicit narrowing conversions and late binding — you must write…
No questions match those filters
Try removing a filter or .
About these VB.NET questions
VB.NET questions come up when you are maintaining an older line-of-business application. Because VB.NET and C# both compile to the same IL, most interview questions are about the differences that actually bite: Option Strict and late binding, default parameter and event syntax, and how to keep a VB.NET codebase healthy while the rest of the platform moves forward.