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

What are the extension methods in c#?

956


What is a must for multitasking

1059


Explain the difference between const and static read-only?

1077


How to reverse each word in a string using c#?

1103


what is an exception in .net?

993


What is the use of convert toint32 in c#?

1023


Explain inheritance in c#?

1004


What is a hashset c#?

1162


What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?

1047


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

1122


What is the benefit of using interface in c#?

1052


Why do we need generics?

979


What is entity framework in c#?

978


Is int a struct in c#?

955


Define property in c#.net?

1011