I'm wondering how in C# I would go about creating a method that would take a couple set values, kind of like an enum.
public static void SwitchState(enum State { On, Off, Idle }) {
}
Something like that I don't know...I don't want to have strings passed into the method because then I have to memorize what those strings are.