extension method fro all class type in c# code example
Example: c# method info extension
private static readonly MethodInfo ExtensionMethod =
typeof(ObjectExtensions).GetMethod(nameof(ObjectExtensions.NewMethod));
private static readonly MethodInfo ExtensionMethod =
typeof(ObjectExtensions).GetMethod(nameof(ObjectExtensions.NewMethod));