Difference Between ReadOnly and Constant Variable in
compile time and Run Time.
Answer Posted / saiish bhat
readonly is compile time constant.
constant is runtime constant.
constatnt field is used to initialize at the declaration of
the field.
readonly field is used at the declaration or constructor of
the field.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Is sql backend or frontend?
Which browsers support the xmlhttprequest object?
What are the main advantages of using asp.net?
Give 2 examples for scenarios when routing is not applied?
What is user control in asp.net?
What is applicatio domain?
How asynchronous call can be implemented using delegates?
What is a viewbag?
what is the difference between response.write() and response.output.write()?
What are the different types of validation controls in asp.net?
In order to get assembly info which namespace we should import?
Explain the flow of processing of the request? : asp.net mvc
How would you enable impersonation in the web.config file?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
To add a hyperlink column to the DataGrid which tag is used ?