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

Is session server side or client side?

1018


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

1162


How you can stop the validation of ASP.NET controls from client side?

1098


How does viewstate work?

1117


What is the difference between custom web user control and a custom web server control?

1027


What is data grid view in asp.net?

994


What are the page life cycle events?

966


Which is the parent class of the ASP.NET server control?

1107


Explain the difference between the web config and machine config.

1090


Why we use asp.net for website development?

958


What are web beacons used for?

1072


Why session is necessary in web application?

1014


How would you turn off cookies on a page of a website?

986


Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc

1067


What are the different web pages?

984