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
Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).
Can we change web.config settings from iis?
Explain the advantage of packaging over xcopy in .net?
what is use of entitydatasource control?
How to use multiple submit buttons in asp.net mvc?
Explain JSON Binding?
Can I use razor code in javascript in asp.net mvc?
What is difference between razor and web form engine?
What is the use of the default route {resource}.axd/{*pathinfo} ?
How to Redirect Tracing to a File
What is conceptual model? : Entity framework
Explain peek method in tempdata in asp.net mvc?
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
What is ViewStart Page in ASP.Net MVC?
How to enable Attribute Routing?