Tag Archive | "definition"

Did You Know enums Can Define Their Own Methods?

Monday, April 20, 2009

4 Comments

… I sure as hell didn’t, but found myself in a position the other day where I was thinking “Damn, I wish I could define a common method in this enum that I could call and not have to write another utility method…” Well, ask and ye shall receive… or something like that. Here’s the enum [...]

Continue reading...