In .NET, Is there a way to check whether an object is of a delegate type?
I need this because I\'m logging the parameters of method calls, and I want to print
You can just check whether obj is Delegate. All delegate types inherit the base Delegate class.
obj is Delegate
Delegate