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().
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().