public static object GetPropertyWithReflection(this object target, string prop) { return target.GetType().GetProperty(prop).GetValue(target, null); }