.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> VB.Net >> Post New Question Subscribe to Interview Questions

when turned on do not allow to use any variable without proper declaration?

Posted By :Prasanti Prusty     Posted Date :December 21, 2009    Points :10   Category :VB.Net 
Option Explicit

You can also find related Interview Question to when turned on do not allow to use any variable without proper declaration?  below: 

What is the use of 'using' declaration.

  
A using declaration makes it possible to use a name from a namespace without the scope operator. (More...)

How to remove a Session variable?

  
using HttpSessionState.Remove(); (More...)

Is it possible to set SessionState to readonly mode? Readonly mode means, we can only read data from session but we can not write any data in session variable?

  
Yes, it is possible.
EnableSessionState property has a value "Readonly" which actually makes the session state read only.

Thanks. (More...)

I was trying to use an "out int" parameter in one of my functions. How should I declare the variable that I am passing to it?

  
You should declare the variable as an int, but when you pass it in you must specify it as 'out', like the following: int i; foo(out i); where foo is declared as follows: [return-type] foo(out int o) { } (More...)

can we use session variable in App_code Class page ?

  
Yes.
By using "HttpContext.Current.Session("VarName") ", we can use current session variable in App_code Class page (More...)

can we assign Null value to Struct variable.

  
No , We cannot assign null to a struct variable, since structs are value type. (More...)

Can you change the value of a variable while debugging a C# application?

  
Yes, if you are debugging via Visual Studio.NET, just go to Immediate window. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend