Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you declare static variable and how it is declared
and what is its lifetime?

Answers were Sorted based on User's Feedback



How do you declare static variable and how it is declared and what is its lifetime? ..

Answer / firoz ahmed

Static variable are declared within the procedure.
and it preserves the value of variable.whether is
called 10000 times.no problem.

Is This Answer Correct ?    12 Yes 3 No

How do you declare static variable and how it is declared and what is its lifetime? ..

Answer / sonia

Static variables retains their values even after the
termination of the procedure in which it is declared.

Is This Answer Correct ?    20 Yes 12 No

How do you declare static variable and how it is declared and what is its lifetime? ..

Answer / pratik

Hi,

Static variables are declare through the

Static Var1 as Integer

The scop of the Var1 is within the module where its is
defined

Is This Answer Correct ?    18 Yes 20 No

Post New Answer

More VB.NET Interview Questions

Explain an assembly?

0 Answers  


What are the technology areas that microsoft.net contains?

0 Answers  


What is the maximum size of the textbox?

0 Answers  


difference between control and component more than one differences

0 Answers  


Explain nested classes?

0 Answers  


Explain about rapid application development tool?

0 Answers  


Tell us how many languages are supported by .net?

0 Answers  


in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?

1 Answers  


What is break mode? What are the options to step through code?

0 Answers  


Can you please explain the difference between dataset and datareader?

0 Answers  


Difference between VB dll and assemblies in .NET ?

5 Answers   Digital GlobalSoft,


Explain about the keyword must inherit?

0 Answers  


Categories