The Create Enumeration quick fix is available once Telerik® JustCode™ has detected use of an unknown type in your code. Telerik® JustCode™ suggests you to generate a
class, structure, interface or enumeration. By executing this fix,
Telerik® JustCode™ automatically creates a new enumeration in the current file with the same name as the unknown type.
Supported: C#, VB.NET, Razor
To create an enumeration
- Position the caret over an unknown type.
Press Alt+Enter. From the pop-up menu, select Create Enumeration
The result is: