intro to lambda/anonymous functions
<p>I have this function from a plugin (from a previous post)</p>

<pre><code>// This method implements the test condition for 
// finding the ResolutionInfo.
private static bool IsResolutionInfo(ImageResource res)
{
  return res.ID == (int)ResourceIDs.ResolutionInfo;
}
</code></pre>

<p>And the line thats calling this function:</p>

<pre><code>  get
  {
    return (ResolutionInfo)m_imageResources.Find(IsResolutionInfo);
  }
</code></pre>

<p>So basically I'd like to get rid of the calling function. It's only called twice (once in the get and the other in the set). And It could possible help me to understand inline functions in c#.</p>
