Epplus example of `LoadFromCollection<T>(IEnumerable<T>, Boolean, TableStyles, BindingFlags, MemberInfo[])`
<p>When using Epplus ExcelPackage, I typically use a basic <code>LoadFromCollection</code> function to populate a Worksheet, like in this manner:</p>

<pre><code>worksheet.Cells[1, 1].LoadFromCollection(Collection:data, PrintHeaders:true);
</code></pre>

<p>On <a href="http://www.nudoq.org/#!/Packages/EPPlus/EPPlus/ExcelRangeBase/M/LoadFromCollection(T)" rel="noreferrer">this site</a>, I see the listing of other overloads of that function, but no specific examples. This one looks interesting. Can someone provide a basic example of this function overload in use?</p>

<pre><code>LoadFromCollection&lt;T&gt;(IEnumerable&lt;T&gt; Collection, Boolean PrintHeaders,
      TableStyles TableStyle, BindingFlags memberFlags, MemberInfo[] Members)
</code></pre>

<p>I can see by clicking through the API that "<a href="http://www.nudoq.org/#!/Packages/EPPlus/EPPlus/TableStyles" rel="noreferrer">TableStyles</a>" is an enum that can be assigned like so: </p>

<pre><code>TableStyles TableStyle = OfficeOpenXml.Table.TableStyles.Medium1;
</code></pre>

<p>The <code>memberFlags</code> and <code>Members</code> parameters remain a mystery to me.</p>