need reflection to show me the value of the subclass as well as those of the superclass. Also, need to understand if there are any restrictions on this after we make it work. To reproduce, create SelfInspection2() . . . it only shows the vars of the superclass class SelfIntrospection { private string privateStringl; protected string protectedString; public string publicString; public SelfIntrospection() { Type t = GetType(); FieldInfo[] f = [login to view URL]( [login to view URL] | [login to view URL] | [login to view URL] | [login to view URL] ); IEnumerator e = [login to view URL](); while ([login to view URL]()) { FieldInfo fi = (FieldInfo)[login to view URL]; [login to view URL]("---------------"); [login to view URL]([login to view URL]); [login to view URL]([login to view URL]); [login to view URL]([login to view URL]); [login to view URL]([login to view URL]); [login to view URL]([login to view URL]); [login to view URL]([login to view URL]); [login to view URL]([login to view URL]); [login to view URL]([login to view URL](this)); } } } class SelfInspection2 : SelfIntrospection { private string subval; }
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
.NET