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 a protected class in c#?

897


What is an arraylist in c#?

1019


What is the use of getcommandlineargs() method in c#.net?

923


How long can a string be c#?

849


What is the syntax for calling an overloaded constructor within a constructor?

907


What is managed code?

982


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

1871


What's the difference between System.String and System..StringBuilder in C#?

921


What are the types of access modifiers?

868


windows c# using datagridview in edit form sql server

4029


Contrast System.String and System.Text.StringBuilder classes?

926


What is expression c#?

858


What is the difference between “out” and “ref” parameters in c#?

933


What is decimal in c#?

866


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

1836