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


How do we make a poperty read only?



How do we make a poperty read only?..

Answer / jitender

Suppose we have a property BarColor
the to make it read only use

private string color;

public string BarColor
{
get
{
return(color);
}
} // No need to set it

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is difference between web config and global asax?

0 Answers  


How many types of controls are there in asp.net?

0 Answers  


How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?

0 Answers  


How do u optimize a query in asp.net?

0 Answers   MCN Solutions,


Which method is used to force all the validation controls to run?

0 Answers  


Explain Features in ASP.NET

0 Answers   Microsoft,


How to create discussion forum in asp.net mvc? : Asp.Net MVC

0 Answers  


Who can consume WebAPI?

0 Answers  


When does the application ONEND event handler fire?

1 Answers   C Squared Systems, Verinon Technology Solutions,


True or False: A Web service can only be written in .NET?

5 Answers  


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

0 Answers  


What are uri parameters?

0 Answers  


Categories