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
What is Peek method in Tempdata in ASP.Net MVC?
Is it possible to unit test an mvc application without running the controllers in an asp.net process?
What is MVVM design pattern?
Explain JSON Binding?
Is the following route definition a valid route definition? {controller}{action}/{id}
Explain the 'page lifecycle' of an ASP.NET MVC?
Which is the root namespace for fundamental types in .net framework?
Does razor engine supports for tdd?
Mention some action filters which are used regularly in ASP.Net MVC?
What is managed extensibility framework?
What is display mode in mvc?
What is difference between viewbag and viewdata and tempdata?
What filters are executed in the end?
Is it possible to share a view across multiple controllers?
What are Code Blocks in Views?