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

Explain how can we access static variable?

1139


Explain security types in asp.net?

1105


Explain the code Access Security (CAS) in .net Framework?

1239


I’m having some trouble with cas. How can I diagnose my problem?

1042


What does asp stand for in asp.net?

979


Explain the purpose of storyboard.targetproperty.

948


What are the session management techniques asp net?

998


What is the application pool?

959


What are the session variables?

982


What is a postback ispostback and autopostback in asp net?

902


What is asp.net globalization?

980


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

1090


What is redirecting behavior?

967


Explain how viewstate is being formed?

975


Can we create a multiple user simultaneously ?

1132