Can you get a Func<T> (or similar) from a MethodInfo object?
- by Dan Tao
I realize that, generally speaking, there are performance implications of using reflection. (I myself am not a fan of reflection at all, actually; this is a purely academic question.)
Suppose there exists some class that looks like this:
public class MyClass {
public string GetName() {
return "My Name";
}
}
Bear with me here. I…