I have an abstract C # base class with several methods that need to be overridden. How can I provide this? Right now I'm throwing an exception as a base implementation
public virtual string Description
{
get { throw new NotImplementedException(); }
}
public virtual string ErrorMessage
{
get { throw new NotImplementedException(); }
}
This solution, however, is a bit erroneous and very little intuitive ... Are there other ways to solve this problem in C #?
Riiri source
share