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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between datagrid and gridview?

593


Explain the difference between an xml "fragment" and an xml "document."

582


What are the different variables in vb.net?

593


Define naming convention?

694


Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.

3194






What is the difference between system.applicationexception class and system.systemexception?

758


what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.

2053


What is econo-jit?

691


Explain the difference between c# and vb.net?

633


Explain an assembly?

643


what is common language specification?

591


What are the differences between c# and visual basic.net?

610


Which namespace are used for accessing the data?

733


Explain the difference between value and reference types?

545


source code for how to login a vb.net application ?

665