This site features a collection of common technical interview questions gathered by a group of programmers who have been through, and given, lots of technical interviews. There is an emphasis on C++ and game programming technical interviews, but most of the questions are relevant to any technical interview.
Reflection – The process of getting the metadata from modules/assemblies. When .NET
code is compiled, metadata about the types defined in the modules is produced. These modules
are in turn packaged as assemblied. The process of accessing this metadata in called Reflection.
The namespace System.Reflection contains classes that can be used for interrogating the types for a
module/assembly. We use reflection for examining data type sizes for marshalling across process &
machine boundaries.
Reflection is also used for:
1) To dynamically invoke methods (using System.Type.InvokeMember)
2) To dynamically create types at runtime (using System.Reflection.Emit.TypeBuilder).
1 Comment so far
Leave a comment
Reflection – The process of getting the metadata from modules/assemblies. When .NET
code is compiled, metadata about the types defined in the modules is produced. These modules
are in turn packaged as assemblied. The process of accessing this metadata in called Reflection.
The namespace System.Reflection contains classes that can be used for interrogating the types for a
module/assembly. We use reflection for examining data type sizes for marshalling across process &
machine boundaries.
Reflection is also used for:
1) To dynamically invoke methods (using System.Type.InvokeMember)
2) To dynamically create types at runtime (using System.Reflection.Emit.TypeBuilder).
By defor on 08.12.11 12:27 am | Permalink
Leave a comment
If you are including code in your comment, place it within a <div class='code'></div> tag for better formatting.