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

i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1850


What are the different methods of session maintenance in asp.net?

998


COM+ Used ________________ Isolation Level

1944


Briefly describe the role of global.asax?

979


What are the various types of validation controls provided by asp.net?

966


What is the difference between “Web.config” and “Machine.Config”?

1121


Can the unique key be null?

1089


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

996


What is _dopostback in asp net?

949


What are the two properties that are common on every validation control?

1016


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

1029


What should you do is you want to remove an existing component but would like to make some funtionalities?

1925


What are validator? Name the validation controls in asp.net? How do you disable them?

1023


Which protocol is used to call a web service?

1035


What is the life cycle of web page?

952