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

Can the accessibility of a type member be greater than the accessibility of its containing type?

994


What is ispostback c#?

930


How do I open the console window?

1082


What is deferred execution?

935


Why c# is type safe?

983


Is null or empty in c#?

1009


What is string concatenation?

1052


When should I throw an exception?

1046


How do I create a multi language, multi file assembly?

1116


What does f mean in c#?

956


Why to use lock statement in c#?

983


What are the benefits of using windows services:

1105


Difference between value and reference type.

968


Write the syntax for catching an exception in c#?

933


What is the use of ispostback in c#?

925