reflection

Code inspecting types, properties and methods at run time instead of knowing them at compile time.

In more detail

Model binding, serialisation and many libraries use it. It is flexible but slower, and it is what makes trimming unsafe, because the trimmer cannot see members only reached by reflection.

Related terms

Taught in

References