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 / j_baghla

Both are used for constant values but in readonly variable
we can assign the value thru expression but we can't assign
value to constant variable thru expression.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is namespaces in .net?

1154


How do I use the thread pool?

1049


What is a variable of implicit type and what is its scope?

923


What is Full trust permission set in .Net

2361


What is the difference between encrypting a password and applying a hashing?

1164


How to load a user control dynamically in runtime?

1057


Who is using .net core?

976


What is boxing and un-boxing in .net?

1071


What is .net debug & trace?

1066


What is common language specification (cls)?

1086


How do you trigger the paint event in system.drawing?

1000


Please explain is the jit an interpreter?

1167


What makes .net core cross platform?

999


What is singleton activation mode in .net?

1150


Please explain what is immutability, what is it for and how is it codified?

1013