Automatic properties let me replace this code:
private MyType myProperty; public MyType MyProperty { get { return myPropertyField; } }
readonly can only be applied to fields, so I believe not.
readonly
Could you not just use:
public readonly MyType MyProperty;
as it is then only assignable from the constructor anyway?