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 is application management and maintenance improved in asp.net 2.0?
Which is an advantage of application service providers?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
explain code with datachaching with example
What is http pipeline in asp.net?
Define dll hell?
Can you dynamically assign a Master Page?
What are the components of ado.net?
What are tuples?
What is virtual directory in asp.net?
What is the function used for removing an event listener?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
How can we use Web API with ASP.NET Web Form?
In early binding will the method invoked on com component will verify it?s existance in the system or not ?