title: Group to key-value pair where value is a list of elements that share the same key
body: <p>How to create a "complex" object from a list of fields</p>
  
  <p>ex.:</p>
  
  <pre><code>public class Lines {
    public string itemName;
    public string locationName;
    public string locationGeo;
  
  }
  
  List&lt;Lines&gt; lines = new List&lt;Lines&gt;(){
      new Lines() {itemName= "item1", locationName="someloc1", locationGeo="1.11, 1.11"},
      new Lines() {itemName= "item1", locationName="someloc2", locationGeo="1.12, 1.12"},
      new Lines() {itemName= "item1", locationName="someloc3", locationGeo="1.13, 1.13"},
      new Lines() {itemName= "item2", locationName="someloc4", locationGeo="1.14, 1.14"},
      new Lines() {itemName= "item2", locationName="someloc5", locationGeo="1.15, 1.15"}
  }
  </code></pre>
  
  <p>Group to something like, example object:</p>
  
  <pre><code>public class exampleLines{
      public string itemName;
      public locations locs;
  }
  </code></pre>
  
  <p>ps.: this class doesn't exist at all.</p>