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
What parameters can you pass in the url of the api?
Why is xap important?
witch is the best insistute in sharpoint course.what abt future of share point course.
What is the difference between the asp and asp.net?
What is view state management in asp net?
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
Define page fragment caching?
Are xaml file compiled or built on runtime?
Explain the function of new view engine in asp.net? : asp.net mvc
Explain the difference between response.redirect vs server.transfer
What are the types of validation in asp net?
What is protected configuration?
Explain about asp.net 2.0 themes?
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
How is my content secured from unauthorized access?