Benefit of option strict on
Illustrate the benefit of option strict on? Describe in brief.
Expert
Visual Basic permits conversions of numerous data types to other data types. Data loss can take place whenever the value of one data type is transformed to a data type with less accuracy or smaller capacity. A run-time error takes place if such a narrowing conversion fails. Option Strict makes sure compile-time notification of such narrowing conversions so they can be ignored.
Addition to disallowing the implicit narrowing conversions, Option Strict produces an error for late binding. The object is late bound whenever it is assigned to a variable which is declared to be of type Object.
Since Option Strict On gives strong typing, prevents unintended type conversions with the data loss, prohibits late binding and enhances performance, its use is strongly suggested.
Write ASP.NET configuration options that are supported in ASP.NET implementation on shared Web hosting platform?
List the various techniques to authenticate the user in ASP.NET?
Write down the benefit of packaging over xcopy in the .NET?
What is the function of DialogResult property of the Button control?
Define the roles of CLR in .NET Framework and also explain the responsibilities?
Write the two properties of the GridView control which have to be specified to turn on paging and sorting?
What is the root namespace for fundamental types in .NET Framework?
List out the attributes of an Interface.
List the usages of the Command object in ADO.NET?
In what way we can check/uncheck every item in a CheckedListBox control in the .NET 4.0 framework?
18,76,764
1957858 Asked
3,689
Active Tutors
1423789
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!