Retrieve a property value from an object dynamically. This is a simple version that uses Reflection calls directly. It doesn't support indexers.
public static object GetProperty(object instance, string property)
Object - cast to proper type
Object to make the call on
Property to retrieve
See also:Class ReflectionUtils
Comment or report problem with topic