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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of an Assembly?

605


Explain the advantages of vb.net?

529


How can we store decimal data in .net?

545


What are the features of c# which are not present in vb.net?

658


What is code access security?

686






What is the ruby interface generator?

558


Explain the difference between namespace and assembly?

516


Explain code security?

508


What are the differences between server-side and client-side code?

538


What are the difference between dispose(), close(), exit(), end()? When do we use them?

537


How many ways the function can return values?

537


What is meant by jagged arrays?

584


What are the shadow variables?

592


Define naming convention?

632


Name and explain some of the exclusive features which are present in vb?

550