Reflection
suggest changeIntroduction
Reflection is a C# language mechanism for accessing dynamic object properties on runtime. Typically, reflection is used to fetch the information about dynamic object type and object attribute values. In REST application, for example, reflection could be used to iterate through 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.
Reflection:
*Reflection
Table Of Contents
17Regex
18DateTime
19Arrays
21Enum
22Tuples
24GUID
27Looping
36Casting
46Methods
51Keywords
57Generics
61Reflection
79Overflow
88Events
92Structs
102Polymorphism
103Immutability
104Indexer
106Stream
107Timers
108Stopwatches
109Threading
111Async Await
123ICloneable
124IComparable
126Using SQLite
127Caching
135Pointers
145Cryptography
147C# Script
155Contributors