Calling a method on a static class given its type name and method names as strings

Viewed 25061

How could I go about calling a method on a static class given the class name and the method name, please?

For example:

Given System.Environment and GetFolderPath, I'd like to use Reflection to call Environment.GetFolderPath().

5 Answers
Related