The assembly that is generated for .Net Framework has metadata that describes the structure of the assembly and its classes. By using reflection we can investigate the structure of classes and the data that assembly holds dynamically at runtime.
You can dynamically get/set values from/to properties of object. #
foreach (PropertyInfo info in myObject.GetType().GetProperties())
object o = info.GetValue(myObject, null);
object myValue = "Any_Value";
this.info.SetValue(myObject, myValue, null);
It's very helpful and easy to use. Isn't is ?