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 namespace of asp.net mvc?
What is the meaning of unobtrusive javascript? Explain us by any practical example.
How does �side by side� work for the .net framework 3.0?
Explain the methods used to render the views in ASP.Net MVC?
how can you tell ef to have a different table or column name than that defined for the class?
mention what is code first approach and model first approach in entity framework?
Explain what platforms does the .net framework run on?
Explain Sections is ASP.Net MVC?
Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?
How we can multiple submit buttons in ASP.Net MVC
What type of filter does outputcacheattribute class represents?
Why to use Html.Partial in ASP.Net MVC?
Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?
What is oauth in web api?
what is use of entity container?