I\'m having a problem with C#, I\'d like to get a pointer of a method in my code, but it seems impossible. I need the pointer of the method because I want to no-op it using
public string myFunction(string name) { return "Hello " + name; } public string functionPointerExample(Func myFunction) { return myFunction("Theron"); }
Func functionName.. use this to pass methods around. Makes no sense in this context but thats basically how you would use it