Possible Duplicate:
Can I change a private readonly field in C# using reflection?
I need to modify a data structure class, but the data is hidden behind a read-only property. Can I, using any technique, modify private variables within a class?
What if I was able to peer into the object and note down exact byte positions of the variables I need. Can I then use unsafe code to directly modify memory at those offsets? Is anything like this possible?