K
kavboy
I have a base class A and two inhereted classes B and C.
public class A{
protected virtual bool Method1(){
return true;
}
public bool IsMethod1Overriden{
get {
???????
}
}
}
public class B : A {
protected override bool Method1(){
return true;
}
}
public class С : A {
does not override Method1
}
How can I implement IsMethod1Overriden function?
public class A{
protected virtual bool Method1(){
return true;
}
public bool IsMethod1Overriden{
get {
???????
}
}
}
public class B : A {
protected override bool Method1(){
return true;
}
}
public class С : A {
does not override Method1
}
How can I implement IsMethod1Overriden function?