Generic Property in Visual Basic .NET

You can define generic property in a VB.NET class as shown in below code

In Line 16, I have created a read only property as generic type

You can create instance of Integer type using following code

Leave a Reply

Your email address will not be published. Required fields are marked *