Answer Posted / kirti
You can initialize readonly variables to some runtime values. Let's say your program uses current date and time as one of the values that won't change. This way you declare public readonly string DateT = new DateTime().ToString().
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Mention what is the difference between “ActionResult” and “ViewResult” ?
What is meant by bootstrap in mvc5?
What is associationset? : Entity framework
What is the full form of sp?
What is asp net framework?
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
Explain two instances where routing is not implemented or required?
how to disable the lazy loading framework?
What is mvc entity framework?
What is meant by domain model?
What is the difference between .net core and .net framework?
How we can invoke child actions in ASP.Net MVC?
what is minimum requirement for entity framework applications to run?
What are the Core features of ASP.NET MVC?
Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?