compare between option strict and option explicit?
Answers
Answered by
8
Option Strict Settings Tools --> Options --> Projects and Solutions --> VB defaults --> Option Strict. Make it On.
Option Explicit Settings Tools --> Options --> Editor --> Require Variable Declaration. Set it by Ticking it.
The Option Explicit - By default, the Visual Basic compiler mandates explicit variable declaration, which requires that you declare every variable before you use it.
The Option Strict - By default, Visual Basic compiler does not enforce strict data typing.
Similar questions