An interesting question arose today of how to get/change encapsulated (Private) variable value from the Static class dynamically.
It is easy to imagine why this would be useful. You might want to read initial values from standard or third party DLLs, and change it for customization.
Using Reflection is the feature in .Net, which enables us to get some information about object in runtime. That information contains data of the class. Also it can get the names of the methods that are inside the class and constructors of that object.