The class System.Globalization.EastAsianLunisolarCalendar
of the mscorlib.dll
assembly is non-nested public
but its sole instance constructor is internal
and it also declares some internal abstract
members.
The problem: Write a C# class in your own assembly (code must compile with usual C# compiler) where a class derives from (inherits) the System.Globalization.EastAsianLunisolarCalendar
of the BCL.
Your class must have System.Globalization.EastAsianLunisolarCalendar
as its direct base class. It is not allowed to have a third class in "between" your class and that class in the inheritance hierarchy.
(Advanced stuff like dynamic assemblies or runtime IL emission is not needed.)
(Stated as a C# problem. Discussions on whether the equivalent problem can be solved in other object-oriented languages too, will also be considered interesting.)
It is not required that the class you write is usable in any way ;-)
encapsulation
,inheritance
,access-level
. \$\endgroup\$ – Jeppe Stig Nielsen Nov 28 '13 at 11:34