-1
I was using the type Dynamic and I’ve been alerted that he has performance issues.
How could I make the code below using ExpandoObject
?
dynamic dObject = new ExpandoObject();
dObject.a= a;
And how I could order a list of ExpandoObject
?
With a list of Dynamic I can do this:
dList.OrderBy(minhalista => minhalista.a).ToArray();
But with Expand I can’t.
But when doing Dynamic dObject = new Expandoobject(); I’m not using the "type" Dynamic?
– PauloHDSousa
I think you’re confusing things,
ExpandoObject
isdynamic
– Jéf Bueno
What do you mean? It’s an alias?
– PauloHDSousa