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
How does a web application session work?
how can create login from create and written conde in asp.net
Mention few asp.net validators.
Describe how to implement globalization and localization in the use interface in .net.
Can a .net web application consume java web service?
Which of the following .NET framework supports Web API?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
Explain the concept of event bubbling in ASP.NET?
What is http post action?
What is localhost in asp.net?
What are the steps involved to fill a dataset?
What are the different web pages?
What is global.asax file used for?
Who can consume WebAPI?
Can we create a multiple user simultaneously ?