Enum.IsDefined results false for strings – stackoverflow.com

I used Enum.IsDefined() method for a string, but I get False in a situation that I think I should get True, So please check below code: public enum YourEnum : int { Zero = 0, One = 1 } ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Enum.IsDefined results false for strings – stackoverflow.com"