-1

The MVC tutorial written for C# lists this property for a product:

public virtual Category Category { get; set; }

How do I express this in Visual Basic? I tried:

public virtual Category as Category 

but it didn't fly. The editor underlines the first "Category" expecting an end of statement.

1 Answers1

2

It's Overridable

Public Overridable Property Category as Category

reference

ESG
  • 8,988
  • 3
  • 35
  • 52