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 is a property designated as read-only?

Answers were Sorted based on User's Feedback



How is a property designated as read-only? ..

Answer / ram

if the property has only get accessor that property is
called read only property.

Is This Answer Correct ?    5 Yes 0 No

How is a property designated as read-only? ..

Answer / sushain sharma

By ommitting set part of property e.g
class A
{
private int n=5;

public int Number
{
get
{
return n;
}


}

}

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

How do you remove duplicates without using remove duplicate stage?

0 Answers  


After capturing the SelectIndexChanged event for a ListBox Control, you find that the event handler doesn?t execute. What could be the problem be? a) The AutoEventWireup attribute is set to False b) The AutomaticPostBack attribute is set to False c) The codebehind module is not properly compiled d) The ListBox must be defined WithEvents.

2 Answers   Syntax Softtech,


Rate yourself in .net and sql database?

1 Answers   BrickRed, Infosys, Satyam, SP Software,


What are the uses of list view control in Asp.net?

0 Answers   HCL,


About Garbage Collector?

3 Answers   Microsoft,


How can I have a particular web page in an asp.net application which displays its own error page?

0 Answers  


how to add cliet side event to server side? and how to register client script to sever side? wt difference these two

3 Answers   PSI Data Systems,


what is the difference b/w .net 1.1 and 2.0 ?

2 Answers   Polaris,


Explain how cookies work.

0 Answers  


Which namespace is used by ado.net?

0 Answers  


How to refresh a page in asp.net

4 Answers  


Explain the asp.net mvc request life cycle? : asp.net mvc

0 Answers  


Categories