public static void FancyMethod(IMyEmptyInterface obj) // Method can be used for all classes that implement the empty interface. { }
public static void FancyMethor(IMyEmptyInterface obj) { //((Student)obj).PrintMe(); }
public static void FancyMethod(IMyEmptyInterface obj) // Method can be used for all classes that implement the empty interface. { }
public static void FancyMethor(IMyEmptyInterface obj) { //((Student)obj).PrintMe(); }