c# create extension method 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));