What is the difference b/w constant & read only variable?
Answer Posted / test
Constant: The value of a constant variable is set at
compile time and can't be reset again.
Readonly: Can be set in a constructor or can be reset again.
Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
Is dapper faster than entity framework?
What is the benefit of entity framework?
What is route config?
Can a view be shared across multiple controllers? If yes, how we can do that?
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
What is the mvc pattern (model view controller pattern)?
Explain the request flow in asp.net mvc framework?
What is meant by bootstrap in mvc5?
explain how you can load related entities in ef (entity framework)?
what is entity framework advantage?
What is the need of Action Filters in ASP.Net MVC
What is renderbody?
Which is the default http method for an action method?
what is explicit loading?
What is the difference between partial and renderpartial?