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
Explain representational state transfer (rest) in detail?
What is a model in android?
What is Separation of Concerns in ASP.NET ASP.Net MVC?
What is the mvc pattern (model view controller pattern)?
Can I set the unlimited length for "maxjsonlength" property in config?
Which are the important namespaces used in mvc?
how do you mark a property as required? For example, for a project, the name is a required field.
What are the benefits of .net framework?
What are actions in asp.net mvc?
How to answer for project questions..?
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
What is separation of concerns in asp.net mvc?
How to Create an Intranet Site Using ASP.NET MVC?
what is model first approach?
What is the difference between .net core and .net framework?