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
Explain how can we access static variable?
Explain security types in asp.net?
Explain the code Access Security (CAS) in .net Framework?
I’m having some trouble with cas. How can I diagnose my problem?
What does asp stand for in asp.net?
Explain the purpose of storyboard.targetproperty.
What are the session management techniques asp net?
What is the application pool?
What are the session variables?
What is a postback ispostback and autopostback in asp net?
What is asp.net globalization?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
What is redirecting behavior?
Explain how viewstate is being formed?
Can we create a multiple user simultaneously ?