I have a class Bar with a private field containing the reference type Foo. I would like to expose Foo in a public property, but I do n
Bar
Foo
Unfortunately, there's no easy way around this in C# at the moment. You could extract the "read only part" of Foo in an interface and let your property return that instead of Foo.