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

Readonly vs. const?

Answer Posted / pavan

both of them does the same work these value cannot be
changed
but with a samll difference
using const we can assign a value before compile time
but using readonly we can assign value to the varible ones
in runtime

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are situations when you register .NET assembly in GAC ?

1081


What is namespace in .net?

1072


What is the single responsibility principle?

1025


What is meant by globalization and localization?

1052


What is the best way to crack the certification?

1865


Explain how to rename a table using sql queries?

1074


Explain the process of serialization in .NET?

1100


What is 3 tier architecture?

1007


Define marshling?

1121


What is the difference between .net 2000 and .net 2005(features)? Which one is better?

966


What is iis? Have you used it?

1027


What is an exe and a dll?

1188


Is .net a programming language?

967


Explain the main components in .net?

1067


Tell us what is the difference between struct and class?

1136