title: C#, convert columns to one row in a list
body: <p>Ok, here is the situation: I've got a C# partial class that returns a list of objects, using the .Select().ToList() functionality.</p>
  
  <p>I get how this works.</p>
  
  <p>The issue that I'm running into, though, is that there are four properties in the class that I need to use in one column. To compound this, each column is supposed to be tied to a row, which displays a lot of redundant information.</p>
  
  <p>An example helps:</p>
  
  <p>I currently have this, let's say, as my class:</p>
  
  <pre><code>public class MyClass{
  public string PersonName {get;set;}
  public string PersonAddress {get;set;}
  public string Field1 {get;set;}
  public string Field2 {get;set;}
  public string Field3 {get;set;}
  public string Field4 {get;set;}
  }
  </code></pre>
  
  <p>That gives you a basic idea of my class. My original suggestion was do set the code up where it did this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;Name&lt;/td&gt;
      &lt;td&gt;Address&lt;/td&gt;
      &lt;td&gt;Field 1&lt;br&gt;Field 2&lt;br&gt;Field 3&lt;br&gt;Field 4&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Which makes sense.</p>
  
  <p>However, those above me have decided that they want a layout like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;Name&lt;/td&gt;
      &lt;td&gt;Address&lt;/td&gt;
      &lt;td&gt;Field 1&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Name&lt;/td&gt;
      &lt;td&gt;Address&lt;/td&gt;
      &lt;td&gt;Field 2&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Name&lt;/td&gt;
      &lt;td&gt;Address&lt;/td&gt;
      &lt;td&gt;Field 3&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Name&lt;/td&gt;
      &lt;td&gt;Address&lt;/td&gt;
      &lt;td&gt;Field 4&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Where, if you'll notice, Name and Address are <em>redundant</em> for each row.</p>
  
  <p>So, how could I do this in C#?</p>