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

The difference between the readonly and const data members
is that const requires you to initialize with the
declaration, that is directly

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of attributes in c#?

981


What is a deadlock lock?

972


What is object pool in .net?

981


Is array ienumerable c#?

944


Is a dll an assembly?

956


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

955


Define satellite assembly in c#?

958


How many dimensions can an array have?

917


How to sign an assembly with strong name?

1060


How many static constructors are allowed in a class?

989


Is datetime value type c#?

920


What is Covariance and contravariance in C#?

1118


What is private variable?

953


What is the purpose of constructor in c#?

897


What is assembly manifest?

1110