title: Lambda Expression conversion for a loop to display a list
body: <p>I am trying learn the use of lambda expressions and hence still struggling to implement after even reading the documentation and other various related articles on it.
  So if I want to convert this following loop into a lambda expression then how would I go about doing it, I just need an approach to look how lambda expressions work.
  <br>Code:<br></p>
  
  <pre><code>var pc = Enumerable.Range(2, 100).ToList();
  var j = 0;
  while (j &lt; pc.Count)
  {
      Console.WriteLine(pc[j]);
      j++;
  }
  </code></pre>