title: How do I get first element of each array via Linq C#
body: <p>I'm very new to <code>Linq</code> and having a problem with this code:</p>
  
  <pre><code>double[] values;
  private List&lt;double[]&gt; valueList = new List&lt;double[]&gt;();
  void AddNewValues(double d1, double d2, double d3)
  {
     values[0] = d1;
     values[1] = d1;
     values[2] = d1;
     valueList.Add(values);
  }
  
  void GetAllFirstValues()
  {
     var test = valueList.Where(s =&gt; s == typeof(double[0]));
  }
  </code></pre>
  
  <p>How to get the first item of each array inside the list?</p>
  
  <p>Is that even possible? Is <code>Linq</code> here a proper way to do that or is there a more clever solution? </p>