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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is validation in asp.net?

1081


What is the parent class of all web server control?

1036


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

2033


Is asp.net web forms dead?

1125


Which object wraps the state or data of a user?

999


What are early binding and late binding.

1082


What is the main differences between asp and asp.net?

1091


How would ASP and ASP.NET applications run at the same time on the same server?

2511


How you can access the values from the Repeater control in ASP.NET?

1073


What is the use of worker process in asp.net?

1016


What is base class of button control in .net?

1015


How should I destroy my objects in asp.net?

1077


What is the difference between abstract class vs interface? Can give me the real time examples?

967


What is difference between session and cookies in asp net?

1068


What is applicatio domain?

1009