How do i get the type info in a static method?
for instance in the code below is it possible for the Method to get the type
to know what type was used to call Method?
thanks
class C {
public C() {
}
public static Method() {
}
}
Class D : C {
}
C c = new C();
D d = new D();
d.Method();
c.cMethod;
for instance in the code below is it possible for the Method to get the type
to know what type was used to call Method?
thanks
class C {
public C() {
}
public static Method() {
}
}
Class D : C {
}
C c = new C();
D d = new D();
d.Method();
c.cMethod;
Comment