I tried using TypeDescriptor and the value is not changing, and via reflection I get an error that there is no setter for that property
views:
130answers:
1
+2
A:
C# anonymous types are immutable, and their properties cannot be changed.
If you really want to, you could set the backing field using reflection, but it would be a bad idea.
SLaks
2010-05-04 12:53:35