I have several methods all with the same parameter types and return values but different names and blocks. I want to pass the name of the method to run to another method tha
public static T Runner(Func funcToRun) { //Do stuff before running function as normal return funcToRun(); }
Usage:
var ReturnValue = Runner(() => GetUser(99));