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

is it possible to access a remote web service Without UDDI?

1011


how background thread access to ui control?

1043


What is wpf c#?

873


What is the use of dll file in c#?

890


Are arrays immutable c#?

1043


If dll and exe files are same it means you can deploy both the files in gac?

929


Give an example of a ctype.

1027


Why abstract class is not instantiated in c#?

938


Give an example of a directcast.

936


Why do you call it a process? What’s different between process and application in .net, not common computer usage, terminology?

996


What is the difference between arraylist and list in c#?

911


What is interface inheritance in c#?

919


What is the difference between func and action delegate?

937


What are the characteristics of c#?

899


What is hashtable c#?

851