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

Readonly vs. const?

Answer Posted / j_baghla

Both are used for constant values but in readonly variable
we can assign the value thru expression but we can't assign
value to constant variable thru expression.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you generate a strong name?

1190


What is Ajax design pattern in .NET?

1126


What is the difference between function and stored procedure?

1163


What is managed code in .NET?

1256


What does jit do?

1250


How will you register com+ services?

2080


What is an anonymous method?

1195


How to instantiate a delegate?

2259


What are the main components in .net?

1074


Describe difference between inline and code-behind?

1166


Explain me what is the difference between a class and an object, and how do these terms relate to each other?

1009


Explain how to stop a thread?

1109


Is .net a programming language?

1006


If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

995


What is the difference between task and thread in .net?

1124