Can you pass a standard c# enum as a parameter?
For example:
enum e1 { //... } enum e2 { //... } public void test() { myFunc( e1 );
Like this:
public void myFunc(Enum e) { foreach (var name in Enum.GetNames(typeof(e))) { Console.WriteLine(name); } }