title: How can I create anonymous method in a lambda expression using C# like I can in VB.NET?
body: <p>In VB.NET, I can do this:</p>
  
  <pre><code>MyArray.Select(Function(a)
                     Dim x as string
                     x = a
                     Return x
                 End Function)
  </code></pre>
  
  <p>How can I do this in c#?</p>