title: lambda expression for Enumerable.Select
body: <p>I'm trying to figure out how to start using linq and lambda expressions.</p>
  
  <p>First of all, if someone could direct me to some good tutorials it will be most appreciated.</p>
  
  <p>Secondly:</p>
  
  <p>I'm trying to select all values which are equal to a specific value using Select method.</p>
  
  <p>I have noticed that select could be defined with a </p>
  
  <pre><code>Select&lt;TSource,TResult&gt;(...lambda expression...)  
  </code></pre>
  
  <p>Now for this purpose I want to select all the numbers which are equal to 5.</p>
  
  <pre><code>int[] numbers = { 1, 2, 3, 4, 5, 5, 5, 6, 7, 8 };
  IEnumerable&lt;int&gt; res = numbers.Select( x=&gt;5 );    
  </code></pre>
  
  <p>This does not work, I just don't understand how this works.
  And in what situation should I define <code>TSource</code> and <code>TResult</code>, and what would they be in this case?</p>
  
  <p>Thanks in advance!</p>