I declared an enum:
public enum HeightTypes{ Tall, Short}
Now I want to use it on my razor page like this:
@if (Model.Met
Just do give a start-to-finish example:
C# CS Page
namespace MyProject.Enums { public enum CurveBasis { Aggregates, Premium } }
Razor View
@using MyProject.Enums Aggregates Premium