Reflection
suggest changeIntroduction
Reflection is a .NET mechanism for accessing object members at runtime. Typically, reflection is used to fetch the information about an object's type and attribute values. In a REST application, for example, reflection could be used to iterate through a serialized response object.
Remark: According to MS guidelines performance critical code should avoid reflection. See https://msdn.microsoft.com/en-us/library/ff647790.aspx
Remarks
Reflection allows code to access information about the assemblies, modules and types at run-time (program execution). This can then be further used to dynamically create, modify or access types. Types include properties, methods, fields and attributes.
Further Reading :
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents