title: Lambda function in C# context and OOP
body: <p>I am a beginner in c# and really interested in learning the language by going deeper. Recently used Lambda function to make a piece of my code but no idea how it worked. </p>
  
  <p>I was mapping values from a list by writing hard code. See below:</p>
  
  <pre><code>var validRatings = new List&lt;int&gt; { 1, 2, 3, 4, 5 };
  </code></pre>
  
  <p>Used Lambda and it worked:</p>
  
  <pre><code>var validRatings = settings.grossAlphas.Select(ga =&gt; ga.fundRating).ToList();
  </code></pre>
  
  <p>I understand Lambda functions are anonymous but how are they different than regular functions and how do they fit in OOP context within C#?</p>