B
babylon
I would like to have a parent class that make one of the static function as
abstract (i can't do it in csharp now)
so that all the subclasses have to implement a static function with same
signature...
is there any way to do it?
e.g.
abstract class parent
{
public abstract static CallMe();
}
class child : parent
{
public static CallMe(); // must implement or compile error.
}
thx
abstract (i can't do it in csharp now)
so that all the subclasses have to implement a static function with same
signature...
is there any way to do it?
e.g.
abstract class parent
{
public abstract static CallMe();
}
class child : parent
{
public static CallMe(); // must implement or compile error.
}
thx