Using dynamic pattern perhaps? You can call any method/property using the dynamic keyword, right? How to check whether the method exist before calling myDynamicObject.DoStuff(), for example?
Using dynamic pattern perhaps? You can call any method/property using the dynamic keyword, right?
Share
You could write something like that :
Edit : you can even do an extension method and use it like this