What is the difference b/w constant & read only variable?

Answer Posted / dharmendra

constant value set on initialization it not may be change or
reset when that readonly can be change in running time.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between .net core and .net framework?

731


How to use multiple submit buttons in asp.net mvc?

817


Is it possible to unit test an mvc application without running the controllers in an asp.net process?

839


What is difference between viewbag and viewdata and tempdata?

763


what is split entity?

809


Explain peek method in tempdata in asp.net mvc?

824


What are Action Methods in ASP.NET MVC?

831


explain lazy loading, eager loading, and explicit loading?

763


Is entity framework slow?

756


explain what does .edmx file contains?

847


Mention two instances where routing is not implemented or required?

956


What are advantages of Dependency Injection (DI) in ASP.Net MVC?

805


Mention some action filters which are used regularly in ASP.Net MVC?

767


Explain RenderBody and RenderPage in ASP.Net MVC?

809


What is the domain object?

734