79253048

Date: 2024-12-05 00:05:01
Score: 1.5
Natty:
Report link

Welp was searching for an hour but as usual, found the answer right after posting. I need to say .Cast() in the types line,

var types = Enum.GetValues(typeof(MyEnum)).Cast<MyEnum>();
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sinnombre