Option statements are essentially compiler directives that are placed at the top of a code file (so a form, class, or module) to control how the compiler builds the code. In Visual Basic 6.0 there were four of these statements (Option Explicit, Option Compare, Option Private Module, and Option Base), but only two of those statements are included in Visual Basic .NET (Option Explicit and Option Compare). In addition to removing two of the existing statements, a completely new Option statement has been added, Option Strict.
IT IS ALL ABOUT THE FRAMEWORK
The real changes between previous versions of VB and VB.NET are not in the language but instead in many of the new Framework features. With the new models for ...