How to write only Readonly property in VB.Net?

 Posted by Rajesh_Kumar on 2/14/2014 | Category: VB.NET Interview questions | Views: 5180 | Points: 40

In Vb.Net,we have to write ReadOnly keyword in property definition as

Public ReadOnly Property Age() As Integer

Return 30
End Get
End Property

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response