Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Define the term Web Garden?

1012


Where viewstate value is stored in asp.net?

1146


Describe session handling in a webfarm, how does it work and what are the limits?

1139


What are sql notifications and sql invalidations?

994


What is x xss protection?

1025


What are the asp.net server side objects?

1025


What are the benefits of view state?

997


explain code with datachaching with example

2213


Can you explain page lifecycle in net?

1016


What is validation in asp.net?

1145


Explain the difference between response.redirect vs server.transfer

1191


How do we sort the data from a dataset?

1030


Can we store object in viewstate?

1022


What is a user session?

930


Explain how cookies work.

1107