posted 14 years ago
Hi All!
I have some enums in my code:
I want to be able to retrieve the enum, JUN for example, by it's ordinal, 5.
So, i created a static method, inside Month:
now, I also want to make the same method in Days.
Is there a way to make a capsulate class so I won't have to code the same method in all my enums?