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

Types of caching. How to implement caching?

2 Answers   Microsoft,


What is syntax code to send email from an asp.net application?

0 Answers  


Explain the difference between or and orelse?

0 Answers  


What are the modes of updation in an updatepanel?

0 Answers  


Uses of CLR ?

2 Answers   Mind Tree, PH Software, TCS,


difference between gridview,data list and repeater control

7 Answers   ABC, Olive Tech,


What is CTS, CLS and CLR ?

20 Answers   CGI, Palm Technology, Reliable Technology, Satyam, Synergy, TCS,


How can i include both C# and vb.net classes in same solution?

2 Answers  


What is an il?

0 Answers  


Is data can be edited in the Repeater control?

2 Answers  


What is difference between machine.config and Web.Config?

4 Answers   Accenture, BirlaSoft, Le Logiciel,


Disable Mouse right click on web page in asp.net?

0 Answers   HCL,


Categories