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 the Difference between read only and constant
variables?

Answer Posted / isaiselvan

readonly assign a value at run time but we can assign a declaration part.
const values assign only at declaration part.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is float in unity?

910


What is the difference between virtual and override in c#?

1061


What is private protected in c#?

898


Is c# a strongly-typed language?

994


Write a C# program to find the Factorial of n

987


Is constructor a static method?

998


What is Named parameter in C#?

1005


What is default method in c#?

1035


What is int64 in c#?

896


What is delegates in c# and uses of delegates?

857


What is function c#?

916


What is the default modifier for class in c#?

966


Tell me the difference between value passing and address passing?

1216


Does c# have its own class library?

982


Explain the difference between abstract class and interface in .net?

910