what is difference between const, static and readonly?
Answer Posted / magesh
const variable : const can never be modified and
must be initialized to a compile time constant.
Static variable : you received last updated value, when u
getting value for static variable.
Readonly variable : The readonly variable can be changed
inside the constructor.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain page output caching?
Name the two properties are on every validation control?
Can asp.net work on an nt server?
Explain the working of passport authentication.
What is the size of Get method and how much data it can store?
Explain the asp.net session state modes.
Where session variables are stored?
Explain Areas in MVC?
What is the difference between Hash table and Array list?
What is the biggest disadvantage of “Other Return Types” in Web API?
What is the difference between page.registerclientscriptblock and page.registerstartupscript?
Give some salient points of difference between request processor and request dispatcher.
How do you open a page in a new window?
How to set the pane area to transparent of a scrollPane component.?
How is a session stored and maintained in asp.net?