Type’s class GetProperties method returns us with a array of PropertyInfo objects. Similarly¬†GetProperty method provided with a name of Property returns us a¬† PropertyInfo object. It allows us to access a lot of information and interaction concerning specific property, such as:

Does property have get or set accessor,

Properties Attributes,

Name,

Return type,

Allows us to change it’s value.

And so on…

Next time we will continue with MethodInfo class.