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
is gateway for sms continue connected for sending sms.how?
Where do the cookie state and session state information be stored?
What are the differences between application object and session object?
What is comparevalidator?
What is the difference between abstract class vs interface? Can give me the real time examples?
What is an imagemap in asp.net?
Explain about Multi-Language integration?
How do you design a website with multilingual support in ASP.NET ?
What kind of data we can store in viewstate?
What is the difference between system.stringbuilder and system.string
How you can access the values from the Repeater control in ASP.NET?
What is the difference between Classic ASP and ASP.Net?
Explain an object, class and method.
Why is xap important?
What is data grid view in asp.net?