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
Do I need microsoft .net framework?
What are scaffold templates in mvc?
What is representational state transfer (rest) mean?
What are Non Action methods in ASP.Net MVC?
What are html helpers in asp.net mvc?
What are action filters?
Is .net framework backwards compatible?
What is a razor file?
Can you explain model, controller and view in mvc?
What are the 3 main components of an asp.net mvc application?
What is renderbody?
Is razor a server side?
How we can handle the exception at controller level in ASP.Net MVC?
Explain test driven development (tdd) ?
What you mean by routing in asp.net mvc?