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

Read Only and Constant are like variables whose value once
given (initialized) cannot be changed.

The difference between Read Only and Constant is that
Constant can only be initialised at the time of declartion
but
Read Only field can be initialised at the time of
declartion or in constructor.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Memory foot print of an exe?

1021


How to add controls dynamically to the form using c#.net.

891


What is a delegate? How can it works?

1140


What is the use of table aliases?

915


What is the difference between public, static, and void?

914


what is a static constructor?

1216


Which is better javascript or c#?

915


Why do we need abstraction in c#?

927


what is partial assembly reference

944


What is hierarchical inheritance in c#?

976


What is string method in c#?

920


How do I port "synchronized" functions from visual j++ to c#?

902


What is a function c#?

967


What is the adv of using System.Text.StringBuilder over System.String?

973


What is class method?

974