C# setting a nullable enum property with an int using reflection
I have a point in my code where I’ve got a PropertyInfo
(referencing a nullable enum) and an instance of the type, and I want to set the enum value using an integer.
I have a point in my code where I’ve got a PropertyInfo
(referencing a nullable enum) and an instance of the type, and I want to set the enum value using an integer.