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 enable impersonation in the web.config file?

1196


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

1061


Can I tap into other windows livetm services?

1033


Explain what is the procedure to create the environment for asp.net? : asp.net mvc

1074


How does asp net store session ids by default?

1039


What are the different web pages?

980


What is Dynamic Web and discuss its usage with the help of real life examples?

1096


What do you mean by query string?

985


Define application state variable and session state variable?

1044


Explain how can we inherit a static member?

1032


Define web.config in .net?

1122


What are the Types of authentications in IIS

1114


What are web beacons used for?

1065


Explain the concept of event bubbling in ASP.NET?

1152


When Cookies are expired in ASP.NET?

1057