I was using dynamic type and was warned that it has a performance problem.
How could I make the code below using ExpandoObject
?
dynamic dObject = new ExpandoObject();
dObject.a= a;
And how could I sort a list of ExpandoObject
?
With a list of dynamic I can do this:
dList.OrderBy(minhalista => minhalista.a).ToArray();
But with Expand I can not.