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
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
What are the different methods of session maintenance in asp.net?
COM+ Used ________________ Isolation Level
Briefly describe the role of global.asax?
What are the various types of validation controls provided by asp.net?
What is the difference between “Web.config” and “Machine.Config”?
Can the unique key be null?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What is _dopostback in asp net?
What are the two properties that are common on every validation control?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
What should you do is you want to remove an existing component but would like to make some funtionalities?
What are validator? Name the validation controls in asp.net? How do you disable them?
Which protocol is used to call a web service?
What is the life cycle of web page?