TIL C# property overrides are separate for getters and setters
Jan 24 · 1 min read · I recently hit an interesting gotcha with some code in a C# codebase i was working with. It baffled me because I didn’t understand how this could compile. MyClass.Foo has a getter but no setter, yet an instantiated MyClass can have the Foo property s...
Join discussion




