title: How Iterate through a list of an object with Lambda Expressions
body: <p>I have an object, which inside is another object that is a list of an object.</p>
  
  <p>What I am trying to do is iterate through the list and to take each a value from the list to set a label. So, if I have 5 values in my list:</p>
  
  <pre><code>for (x=0; list.count; x++)
  {
    lblDayOne.Text = list[x].DayOne.Value; &lt;-I want to set this with the value relevant for Day One and so on and so forth for each label as below
    lblDayTwo.Text = list[x].DayTwo.Value;
    lblDayThree.Text = list[x].DayThree.Value;
    lblDayFour.Text = list[x].DayFour.Value;
    lblDayFive.Text = list[x].DayFive.Value;
  }
  </code></pre>
  
  <p>Is there a way to do this? I tried with foreach but no luck. This is all C#</p>