c# method info extension

C#
private static readonly MethodInfo ExtensionMethod = 
  typeof(ObjectExtensions).GetMethod(nameof(ObjectExtensions.NewMethod));
Source

Also in C#: