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

Can master pages be nested?

0 Answers  


What is content place holder?

0 Answers  


Types of caching ?

1 Answers   Digital GlobalSoft, MicroSec, Wipro,


accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.

1 Answers  


What is a session in programming?

0 Answers  


For a webapplication if i want to gice access controls like admin,users how can i give security like rolebased?

2 Answers   CTS, Syncfusion,


How will you maintain versioning in asp.net 2.0?

0 Answers   MCN Solutions,


List some of the important session state modes of asp.net.

0 Answers  


Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?

1 Answers  


what is the relation between delegates and events

4 Answers   IBM, iNautix,


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

0 Answers  


How can you handle unmanaged code exceptions in asp.net?

0 Answers  


Categories