MethodInfo
MethodInfo is a class in the .NET reflection API that provides information about a method and allows invoking it. It is part of the System.Reflection namespace. A MethodInfo object represents a method, constructor, or delegate. It can be obtained using various reflection methods, such as `Type.GetMethod()` or `Type.GetMethods()`.
Key properties of MethodInfo include its name, return type, parameter types, and attributes. It also provides
MethodInfo is commonly used in scenarios where code needs to dynamically discover and execute methods at runtime.