V
Vadim Berezniker
From what I read, the only similiar thing in C# is declaring a method as
abstract. Problem is I wanted to only declare some methods as "pure".
So I obviously cannot use an abstract modifier in this case. Is there
any ways to accomplish this?
If there is no straightforward way, I was thinking of declaring an
abstract class, creating a subclass that implements all the "non-pure"
methods and then having other classes inherit from this new class
instead of the original abstract. Any better ways?
abstract. Problem is I wanted to only declare some methods as "pure".
So I obviously cannot use an abstract modifier in this case. Is there
any ways to accomplish this?
If there is no straightforward way, I was thinking of declaring an
abstract class, creating a subclass that implements all the "non-pure"
methods and then having other classes inherit from this new class
instead of the original abstract. Any better ways?