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 to reduce the width of textbox in editcommandcolumn of datagrid?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
How do I open an ashx file in windows 7?
What are the events in a page life cycle?
How many types of cache are there?
If 200 is for all successful operation then why do we have 201 response codes?
Explain the use of errorprovider control in .net?
What are different types of api?
How to create events for a control?
Can you explain architecture of your project ?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
What is session in web technology?
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
What is asp.net web application?
Explain the purpose of storyboard.targetproperty.