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 read only and constant

Answer Posted / rafi

if we use constantat first only value should be assigned
where as
in readonly the value can be assigned any time but it
should not be modified

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we assign null value to integer?

884


What to implement on my class Finalize or IDisposable

991


What is a delegate? How can it works?

1152


What is ienumerator c#?

889


What is jit? What are the different types of jit?

1017


What is inumerable?

1051


Explain the process of abstraction with an example?

948


What is the difference between a private assembly and a shared assembly?

1012


To allow an element to be accessed using a unique key which .NET collection class is used ?

1095


what is full assembly reference

973


Why do you need boxing in c#?

923


Can a struct inherit from another struct or class in c#?

931


What is the namespace for datatable in c#?

967


Does c# support #define for defining global constants?

1037


What do you mean by hashtable c#?

1023