public virtual int PropertyA { get; private set; }
public class DerivedClass : BaseClass
public override int PropertyA { get; }
public static void Main()
Console.WriteLine("Hello World");
var instance = new DerivedClass();
Console.WriteLine(instance.PropertyA);