How to check whether an object has certain method/property?
Asked 2011-02-25T06:53:09.930
186
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?