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 / kamlesh sharma

readonly variables are can be initilized at compile time
but we can assign values to readonly varialble at once
through functions or constructors

but in case of constant variables once assign a value we
can't change value and must assign value to constant
variables at the time of declarition

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

973


What is difference between web api and web services?

999


How many types of file extensions for razor views in ASP.Net MVC?

1216


What is the difference between custom controls and user controls?

934


What is a query string in a url?

979


What is the server of asp.net?

1067


How we implement web farm and web garden concept in asp.net?

995


How long should a session id be?

1031


What are the types of authentication in asp.net?

1009


How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.

1143


What is rending process in ASP.NET?

1062


Which of the following .NET framework supports Web API?

1076


What is the difference between session object and application object?

1042


What is the difference between system.stringbuilder and system.string

767


Explain the role of global.asax?

986