I have an Expando Object ("points") with a property called "in". There is another property called "duration". points.duration returns as expected, but points.in throws error CS1001: Identifier expected. I can't change the name of the property right now, so how can I get the value without throwing the error. I'm assuming this has to do with some kind of keyword conflict.
foreach (dynamic? point in points)
{
PointModel model = new PointModel
{
InPoint = point.in,
Duration = point.duration,
PointType = point.type
};
//other code here.
}