Difference Between ReadOnly and Constant Variable in
compile time and Run Time.
Answer Posted / karna
I am adding another point to the above answer.
as the constant variable is constant over the class,that
means,all the objects created for that class have the same
value.
but in case of readonly variables,we can assign different
values in the different instances of the class it contains.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How can you enable impersonation in the web.config file?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
Can I tap into other windows livetm services?
Explain what is the procedure to create the environment for asp.net? : asp.net mvc
How does asp net store session ids by default?
What are the different web pages?
What is Dynamic Web and discuss its usage with the help of real life examples?
What do you mean by query string?
Define application state variable and session state variable?
Explain how can we inherit a static member?
Define web.config in .net?
What are the Types of authentications in IIS
What are web beacons used for?
Explain the concept of event bubbling in ASP.NET?
When Cookies are expired in ASP.NET?