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 the Difference between read only and constant
variables?

Answer Posted / isaiselvan

readonly assign a value at run time but we can assign a declaration part.
const values assign only at declaration part.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About Global.asax

953


Explain the difference between boxing and unboxing.

1012


can you declare an override method to be static if the original method is not static?

1011


How do I calculate relative time?

930


Why are dynamic link library used over static one?

968


what is c# command?

981


How a two-dimensional array declared in C#?

964


Which is faster iqueryable or ienumerable?

983


Is c# a keyword?

916


What is the meaning of 0 in c#?

997


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

930


What are assemblies?

940


What is sql transaction in c#?

891


Is c# or c++ better for games?

848


What is the difference between decimal and integer?

1100