---
title: "What is reflection?"  
description: "What is reflection?"  
author: "Sumit Kesarwani"  
published: 2014-01-25  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/1879/what-is-reflection  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is reflection?

All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection.

The System.Reflection namespace contains classes that can be used to interrogate the types for a module/assembly.

## Answers

### Answer by Sumit Kesarwani

All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection.

The System.Reflection namespace contains classes that can be used to interrogate the types for a module/assembly.


---

Original Source: https://www.mindstick.com/interview/1879/what-is-reflection

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
