title: Unable to generate list based on string array which is inside class
body: <p>Below is my class and code:</p>
  
  <pre><code>public class Properties
  {
      public string Prop1;
      public string[] Prop2;
  }
  
  public IEnumerable&lt;Properties&gt; GetProperties()
  {
      string [] props = new[] { "abc", "xyz", };
      for (int i = 0; i &lt; 4; i++)
      {
          yield return new Properties { Prop1 = "Prop" + i, Prop2 = props};
      }
  }
  
  var values = GetProperties().Select(x =&gt; new {
                        prop = x.Prop2.ToString()
                   }).ToList();
  </code></pre>
  
  <p>Now I want my values variable to contains list of props but here i am getting props as array but I want it as single string.</p>
  
  <p>Expected Output:</p>
  
  <pre><code>Values[0] : Name : abc
  Values[1] : Name : xyz
  </code></pre>
  
  <p>How can I do this with linq?</p>