Get the handle of a function of a class that has no instantiation yet
问题 I am fairly new to C#. What I want to do may seem convoluted. Let's start by saying that I want to take a handle of some functions in order to execute them later on. I know that I can achieve this in the following way: List<Action> list = new List<Action>(); list.Add( () => instanceA.MethodX(paramM) ); list.Add( () => instanceA.MethodY(paramN, ...) ); for(Action a in list) { a(); } However, what if the instanceA object does not exists yet, but I know it will exists when I call the