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

a constant must be initialized at the time of decleration
and this value cannot be changed anywhere in the program.

whereas a readonly can be initialized at anywhere in the
program and the value can be changed

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is state c#?

877


Is it not possible to store a boolean value as a variable?

857


what is a static constructor?

1216


What is datetime minvalue in c#?

1037


What is difference between string and stringbuilder in c#?

954


How can an inner class access the members of outer class?

981


What is static and use of it?

985


We cannot create instances of static classes. Can we have constructors for static classes?

1009


What is a interface in c#?

1009


What is default access modifier for class in c#?

1025


Is array thread safe c#?

866


What is difference between encapsulation and abstraction in c#?

959


Describe two uses of the “using” statement during the operation of c#?

961


Is list passed by reference c#?

884


What is the use of oops in c#?

911