Jon Maz <> wrote:
> Quick & easy one - why does this code give an error?
Because that's not how you make a property read-only. You make it read-
only by only giving it a get {...} accessor, not a set {...} accessor.
--
Jon Skeet - <>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too