title: How can I access an object's property from the PropertyInfo?
body: <p>When I foreach through an object's properties and end up with a PropertyInfo, how can I access the actual property of the object?</p>
  
  <pre><code>@foreach(var propertyInfo in Model.Entity.GetType().GetProperties()) {
      if (propertyInfo.PropertyType != typeof(string) &amp;&amp;
          propertyInfo.PropertyType.GetInterface(typeof(IEnumerable&lt;&gt;).Name) != null) {
          &lt;div&gt;
              @foreach(var item in propertyInfo/*Need Actual Property Here*/) {
                  @Html.Action("Edit", new { Id = item.Id, typeName = "Item" });
              }
          &lt;/div&gt;;
      }
  }
  </code></pre>