ASP.NET 2.0 Question:

Download Job Interview Questions and Answers PDF

Explain How is a property designated as read-only?

ASP.NET 2.0 Interview Question
ASP.NET 2.0 Interview Question

Answer:

Using Get Accessor

Public ReadOnly property item() as integer Get() Return.item End Get End Property

Download ASP.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
How many types of cookies are available in asp?Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?