I'm liking that idea. You could use an array of ints to determine the order in which the things are executed.


A very simple approach might be something like:



static void foo(int []...