how to detect if a property exists on a dynamic object in C# ?
- by Softion
In javascript you can detect if a property is defined by using the undefined keyword:
if( data.myProperty == undefined ) ...
How would you do this in C# using the dynamic keyword with an ExpandeObject and without throwing an exception ?