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
How to Separate background image and front image from original picture....
What are the parts of an http response?
Are xaml file compiled or built on runtime?
What is the difference between page-level caching and fragment caching?
What is the difference between union and join?
How can you access the properties and controls of master pages from content pages?
What are the Types of state management techniques
What I need to create and run an asp.net application?
What is marshalling ? Is it a part of asp.net ?
What are the Types of object in asp
How can u deifne the benefits and limitation of using Viewstate for state management?
How do you deploy your asp.net application?
Why we use asp.net for website development?
What is the purpose of session management?
How do you use viewstate?