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 are the 2 ways of adding constraints to a route?
What are the advantages of asp.net mvc?
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What is Attribute Routing in ASP.Net MVC?
what is model first approach?
What is .net framework in simple terms?
Can you explain renderbody and renderpage in mvc?
Is .net framework going away?
What is conceptual model? : Entity framework
What is oauth in web api?
Name a few different return types of a controller action method?
Which is the default http method for an action method?
Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).
How to bind table colum with gridview column?
what is .edmx file and what it contains?