LINQ calling a method inside Select passing as parameter the selected item
<p>I've a LINQ statement where inside the <em>Select</em> I need to call a method that has as parameter the item selected in the query.</p>

<p>Here's an example:</p>

<pre><code>List&lt;Foo&gt; foos = new List&lt;Foo&gt; {....};

float GetPrice(Foo) {....}

var query = foos
  .Where(x =&gt; x.ID == 1)
  .Select(x =&gt; new
  {
    aaa = GetPrice(????)
  });
</code></pre>

<p>How can I specify the selected Foo in the call to GetPrice(????) ?</p>