InterviewSolution
Saved Bookmarks
| 1. |
What are Option Strict and Option Explicit in VB.Net? |
|
Answer» To avoid data loss during conversion, VB.Net uses the Strict Option keyword. It ensures compile-time notification of data type conversions. Option Explicit is another keyword that is used in a file to declare variables using declare KEYWORDS, such as PRIVATE explicitly, Dim, PROTECTED and Public. However, if UNDECLARED variables persist, an error will occur during the compile time. |
|