79598368

Date: 2025-04-29 12:34:30
Score: 1
Natty:
Report link

Short answer: You can't.

Since both delegates has similar signatures, they are still different. C# is strongly-typed language and cannot be duck-typed. You can get delegate type from System.Private.CoreLib and pass it into method.CreateDelegate and use Invoke method

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Redplcs