What is the recommended approach to naming base classes? Is it prefixing the type name with "Base" or "Abstract" or would we just suffix it with "Base"?
Consider the following:
type: ViewModel e.g. MainViewModel, ReportViewModel
base class: BaseViewModel or ViewModelBase or AbstractViewModel
Also consider:
type: Product e.g. VirtualProduct, ExpiringProduct
base class: BaseProduct or ProductBase or AbstractProduct
Which do you think is more standard?
class Entity : EntityBase
{
}
or
class Entity : BaseEntity
{
}
 
     
     
     
     
     
     
     
     
    