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

Name the two main parts of .net?

521


How can we store decimal data in .net?

535


What is early binding?

525


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

652


Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.

2037






What is strong name in .net assembly?

528


How do you call a stored procedure in Visual Basic?

581


Explain the advantages of migrating to vb.net?

506


What is difference between metadata and manifest?

565


What are jagged arrarys ?

570


What is the difference between compiler and interpreter?

548


Compare c# and visual basic.net?

546


Can you please explain the difference between dataset and datareader?

549


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.

3110


What is datatype conversion?

548