ASP.NET 2.0 Question: Download ASP.NET 2.0 PDF

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

Tweet Share WhatsApp

Answer:

By using keyword static before the variable name. Static variable retains the same data throughout the execution of a program.

Download ASP.NET 2.0 PDF Read All 87 ASP.NET 2.0 Questions
Previous QuestionNext Question
Explain DIff. between Friend and Protected Friend?How does u get record no from 5 to 15 from a dataset of 100 records?