I would like to be able to store various static methods in a List and later look them up and dynamically call them.
Each of the static methods has different numbers of a
List list = new List(); Action myFunc = (int x, int y) => Console.WriteLine("{0}, {1}", x, y); Action myFunc2 = (int x, int y) => Console.WriteLine("{0}, {1}", x, y); list.Add(myFunc); list.Add(myFunc2); (list[0])(5, 6);