<t><br/>
public static object GetPropValue(object src, string propName)<br/>
{<br/>
return src.GetType().GetProperty(propName).GetValue(src, null);<br/>
}<br/>
<br/><br/><br/>
Of course, you will want to add validation and whatnot, but that is the gist of it.</t>