Option Statements in VB.NET
When coding in VB.NET, it is standard practice to place three types of statements at the tp of a source file in the following order:Option Statements,Imports statements,and Name space declartions.
- Option Explicit: this statement enforces that every varible must be declared and spelled correctly before it is used.
- Option Strict: Disallows implicit data type converstions to prevent logic and data erorrs.

浙公网安备 33010602011771号