Why do we use Option Explicit?

Answers were Sorted based on User's Feedback



Why do we use Option Explicit? ..

Answer / praveena

Need to declare all variables explicitly.

Is This Answer Correct ?    5 Yes 0 No

Why do we use Option Explicit? ..

Answer / nikhil

Forces explicit declaration of all variables in a file.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Write a standard lock() plus double check to create a critical section around a variable access?

1 Answers  


What is view state management in asp net?

0 Answers  


what is shared assembly?

2 Answers   Microsoft,


How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio.net language (vb.net)?

2 Answers   rocsearch,


What is a server farm in iis?

0 Answers  






what is the differance between .DLL & .EXE

10 Answers   Infinite Computer Solutions,


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

0 Answers   Siebel,


How we handle the runtime database schema change issue in asp.net application?

2 Answers   IBM, Tech Mahindra,


Define resource files.

0 Answers  


Do ASP.NET forms authentication cookies provide any protection against replay attacks? Do they, for example, include the client's IP address or anything else that would distinguish the real client from an attacker?

1 Answers  


explain code with multi inhertance

0 Answers  


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

0 Answers  


Categories