Here's my razor code:
<div>Creation date:</div>
<div>@Model.DynamicData.CreationDate</div>
DynamicData is an ExpandoObject on the Model. And if it does not have the CreationDate property I get this error:
RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'CreationDate'
Since checking the availability of properties on expando objects is verbose, how can I use Optional Chaining on expando objects?