views:

130

answers:

1

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

+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