Locked History Actions

MicrosoftCertification/70-536/MyNotes/Reflection

.NET Framework Classes

  • Class1
  • Class2
  • etc...

The UMLish diagram below shows the MemberInfo hierarchy used by the .NET reflection and type system to provide introspection of types. Note that "Type" itself derives from MemberInfo. Also note that type Type type has a GetNestedTypes() method which returns an array of Type which can be used to reflect over aggregated (contained) types.

Edit drawing typeinfo.png (opens in new window)

Sample Code

Here is some code demonstrating the use of these classes

The expected output is

Book Feedback


CategoryMicrosoftCertification