I'm trying to do something like this..
enum Birds {
    Crow,
    Sparrow,
    Hawk
}
enum Bugs {
    Ant,
    Spider,
    Scorpion
}
if (featherless == true) {
    var beast = Bugs;
} else {
    var beast = Birds;
}
string a = (beast)2.ToString();
I have five lines of code that works on the provided enum. I can't imagine that I have to duplicate these five lines.. something like the above must be able to be used... The above structure of course causes beast to be out of scope and I can't pass var as a parameter. I know this is a headsmack moment, but I've searched and can't find a similar question.