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.
List some of the new features of ASP.NET AJAX 4.0?
What is covariance and contra-variance in .NET Framework 4.0 with example for each.
Differentiate between the HyperLink control and the LinkButton control?
Name the data type which the RangeValidator control supports?
Explain the term multilingual Web site?
Name the different methods provided by a DataSet object to create XML?
Briefly explain the use of web.config?
What do you know about parameter and explain new types of the parameters introduced in the C# 4.0?
Specify the statement which replaces the multiple if-else statements in the code?
Specify various states of the XMLHttpRequest along with their description.
18,76,764
1929597 Asked
3,689
Active Tutors
1440871
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!