Tag: strings
How to change from a string input to an enum input using an an Angular app sending to a C# API
Lets say you have a class that needs to use an enum, for instance in dungeons and dragons, you have a monster class that is going to have an alignment. Defining the enum is simple enough, define the enum Now, change where you were previously using a string input to an alignment input Change the… Read more