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

what is read only and constant

Answer Posted / nithya

A readonly can be initialized only the time of variable
declaration or only in the constrator,Apart from that we
cannt modify anywhere in our program.

But Constant must be initialized at the time of declaration.
And this value cannt be changed in constractor level also.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between arraylist and list in c#?

979


What is the meaning of MSIL?

1348


What is difference between static and constant variable?

1036


What is predicate builder?

988


If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application?

977


What does type safe mean in c#?

1053


What is a concrete class in c#?

1038


Why do we use abstract class in c#?

1042


How is lazy loading achieved?

983


What do you mean by the delegate in c#?

962


How do I make a dll in c#?

983


What is parameters in c#?

990


What does dbml mean in texting?

976


When should I throw an exception?

1051


What is strong data type in c#?

934