Difference Between ReadOnly and Constant Variable in
compile time and Run Time.
Answer Posted / kamlesh sharma
readonly variables are can be initilized at compile time
but we can assign values to readonly varialble at once
through functions or constructors
but in case of constant variables once assign a value we
can't change value and must assign value to constant
variables at the time of declarition
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Define the term Web Garden?
Where viewstate value is stored in asp.net?
Describe session handling in a webfarm, how does it work and what are the limits?
What are sql notifications and sql invalidations?
What is x xss protection?
What are the asp.net server side objects?
What are the benefits of view state?
explain code with datachaching with example
Can you explain page lifecycle in net?
What is validation in asp.net?
Explain the difference between response.redirect vs server.transfer
How do we sort the data from a dataset?
Can we store object in viewstate?
What is a user session?
Explain how cookies work.