How to cast from one enum to another in a different namespace?
I’ve got two sets of enum values that are exactly the same but in different namespaces that I want to be able to cast between. How can I do this as I get an object reference not set to an instance of an object
error with my attempt below?
How to safely cast from one enum to another in a different namespace? [closed]
Closed 18 mins ago.