Reflection is language independent.
The dot notation ( Namespace.Namespace.OuterClassName.InnerClassName ) is specific to C #. Reflection should work for every language you can use to compile to IL. Also, how can you be sure that OuterClassName is not just part of the namespace without exploring the other properties of the Type class?
You ask why this is not just coming back as a dotted notation? You might also ask, βWhy doesn't this just return as IronPython notation,β or IronLisp notation, or L # notation, or BOo notation, or ...
Learn the notation used in reflection, and you can use it to analyze code written in any language.
Anders tornblad
source share