What is difference between constants, readonly and, static
Answer Posted / kirti
Constants: The value can�t be changed
Read-only: The value will be initialized only once from the constructor of the class.
Static: Value can be initialized once.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between Viewbag and Viewdata in ASP.NET MVC?
What is Area in ASP.Net MVC?
What are action filters?
Explain Model, view and Controllers in Asp.Net MVC?
What is managed extensibility framework?
What is orm entity framework?
What is .net framework & its benefits?
How to use multiple submit buttons in asp.net mvc?
How to enable Attribute Routing?
Give an example for authorization filters in an asp.net mvc application?
How route table has been created in asp.net mvc?
Explain the types of Scaffoldings.
What is objectcontext? : Entity framework
What are Scaffold templates in ASP.Net MVC?
What are the differences between Partial View and Display Template and Edit Templates in ASP.Net MVC?