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 difference between const, static and readonly?

Answer Posted / magesh

const variable : const can never be modified and
must be initialized to a compile time constant.

Static variable : you received last updated value, when u
getting value for static variable.

Readonly variable : The readonly variable can be changed
inside the constructor.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Separate background image and front image from original picture....

983


What are the parts of an http response?

975


Are xaml file compiled or built on runtime?

953


What is the difference between page-level caching and fragment caching?

968


What is the difference between union and join?

1150


How can you access the properties and controls of master pages from content pages?

1001


What are the Types of state management techniques

1029


What I need to create and run an asp.net application?

970


What is marshalling ? Is it a part of asp.net ?

1101


What are the Types of object in asp

1118


How can u deifne the benefits and limitation of using Viewstate for state management?

1130


How do you deploy your asp.net application?

1051


Why we use asp.net for website development?

898


What is the purpose of session management?

999


How do you use viewstate?

1001