Код: Выделить всё
class Outer {
void MethodOne(); // Non-virtual
// more non-virtual methods
public class InnerFoo : Outer { // HOW is this possible?
void InnerMethodOne();
// more methods on the derived class
}
public class InnerBar : Outer { // o_O
// stuff
}
}
Подробнее здесь: https://stackoverflow.com/questions/441 ... iner-class
Мобильная версия