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 / parmjit

We can assign a value to a readonly variable at runtime
till it is a unassined identifier, but once value is
assigned, it cannot be changed.

In case of const we cannot assign a value at run time i.e.
the value assigned to it at declaration time cannot be
change

Is This Answer Correct ?    39 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between int16 and int32 in c#?

883


What is the meaning of MSIL?

1180


What is polymorphism in c sharp?

934


Can a private virtual method can be overridden?

938


What is the difference between continue and break statement?

934


How to install or uninstall a windows service?

989


What is console readkey in vb net?

1038


What is the difference between func and action delegate?

910


From which base class do all Web Forms inherit from?

960


What is token in c#?

929


write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )

2435


What is an example of delegation?

871


Is it possible to have a static indexer in c#?

939


Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records

1005


Why do we use generics in c#?

929