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

what is read only and constant

Answer Posted / ganesh

a constant must be initialized at the time of decleration
and this value cannot be changed anywhere in the program.

whereas a readonly can be initialized at anywhere in the
program and the value can be changed

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About Web.config

1025


Explain the difference between and xml documentation tag?

963


If you define a user defined data type by using the class keyword, is it a value type or reference type?

935


What is the purpose of the integer parse method the decimal parse method?

1184


What is regex c#?

955


Is string a primitive data type in c#?

911


Why is .net so popular?

1003


Write a program in C# for checking a given number is PRIME or not.

1119


What is inheritance in csharp?

1066


What is decimal in c#?

976


What is the difference between public, static, and void?

967


What Is The Smallest Unit Of Execution In .net?

982


Is goto statement supported in c#?

984


What is the execution entry point for a c# console application?

1023


How to create multi-dimensional array?

1165