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);
Return Value
Object - cast to proper type
Parameters
instance
Object to make the call on
property
Property to retrieve
See also:
Class ReflectionUtils