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 / 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


Please Help Members By Posting Answers For Below Questions

Is sql backend or frontend?

990


Which browsers support the xmlhttprequest object?

990


What are the main advantages of using asp.net?

1023


Give 2 examples for scenarios when routing is not applied?

1028


What is user control in asp.net?

1076


What is applicatio domain?

990


How asynchronous call can be implemented using delegates?

981


What is a viewbag?

945


what is the difference between response.write() and response.output.write()?

1137


What are the different types of validation controls in asp.net?

1034


In order to get assembly info which namespace we should import?

985


Explain the flow of processing of the request? : asp.net mvc

957


How would you enable impersonation in the web.config file?

974


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

2088


To add a hyperlink column to the DataGrid which tag is used ?

1067