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...

Difference Between ReadOnly and Constant Variable in
compile time and Run Time.

Answer Posted / karna

I am adding another point to the above answer.

as the constant variable is constant over the class,that
means,all the objects created for that class have the same
value.
but in case of readonly variables,we can assign different
values in the different instances of the class it contains.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you register a custom server control to a web page?

942


Less than one page, how many windows will you be able to maintain?

937


Explain Session state management options in ASP.NET.

1033


What are the different types of validation controls provided in ASP.NET?

1118


What is a web api? Which protocol is used in a web api?

980


What does aspcompat="true" mean?

979


Give an example of cookie abuse.

1022


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

946


Explain the asp.net mvc request life cycle? : asp.net mvc

937


What is ashx file in asp.net?

1013


What is difference between Fragment Caching and Page Caching in ASP.NET?

974


What is the difference between custom controls and user controls?

894


What is the latest version of asp.net?

978


What do you understand by aggregate dependency?

1036


How do you secure your configuration files to be accessed remotely by unauthorized users?

1062