Blazor Inputselect Component, Further, we use a foreach loop to create the option tags based on the UserType enum type.