Option Explicit & Option Strict Defined
Option Explicit: Used at file level to force explicit declaration of all variables in that file. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmOptionExplicit.asp
Option Strict: Restricts implicit data type conversions to only widening conversions. This explicitly disallows any data type conversions in which data loss would occur and any conversion between numeric types and strings.http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmOptionStrict.asp


0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home