I have just begun to use abstract classes but i'm wondering a bit about the use of abstract properties in abstract classes. Why whould you make a property abstract in an already abstract class? The property will be exposed no matter if its abstract or not. In what cases is it an advantage to make the properties abstract in an abstract class? Maybe a bit stupid/basic question, but so far I have not yet had the situation where I said to myself "uhhh this exact property should be abstract in this abstract class".
Consider this example.. Would you make any of the properties abstract? And why?
public abstract class BaseError
{
public string Title { get; set; } = "";
public string Description { get; set; } = "";
public Exception Exception { get; set; }
private DateTime CreatedDateTime { get; set; } = DateTime.Now;
public BaseError()
{
}
}