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
What is a static variable?
Explain the services provided by common language infrastructure.
Explain the difference between c# and vb.net?
What is the difference between value and reference types?
What is the significance of delegates?
What is difference between inline and code behind?
How to create a constant in vb.net?
What is a static class?
What is internal keyword in .net framework?
Write a VB.Net console program to check whether a number is perfect or not.
What keyword is used to accept a variable number of parameter in a method?
How do you retrieve the customized properties of a .net application from xml .config file?
What is econo-jit?
What are option strict and option explicit?
Explain the differences between vb.net and c#, related to oops concepts?