Option Strict

  • Thread starter Thread starter IfEndIf
  • Start date Start date
I

IfEndIf

Guest
Has anyone had any problems using Option Strict?

By default a project allows implicit narrowing conversions, in other words,permissive type semantics. If you change this default to strict type semantics, all narrowing conversions must be done explicity.
 
No problems whatsoever. I always use Option Strict, as should everyone.
 
A lot of the errors you may get using Option Strict is implicit casting, so just make all your catsing explicit. (and youre halfway there)
 
Back
Top