I have an object (class) that needs to call a function. Each instance of the class needs to specify which function to call.
I am assuming that delegates would work for this, but I need to have which delegate to call determined via a property of the object (i.e. it is stored in a variable). The value of that property will be coming from a varchar field in a database.
How do I parse the variable into the name of the delegate to call. Do I have to use reflection or is there some other way to do this?