title: when to use or not Lambda Expressions
body: <p>I see lambda expressions have become a very useful tool at some points in the language. I've been using them a lot and most of the time they fit really nice and make the code shorter and perhaps clearer.</p>
  
  <p>Now.. I've seen some , I would say excessive use of them. Some people like them so much that try to use them everywhere they can.. Some times the C# code looks like a functional language. </p>
  
  <p>Other factors against are the cost using reflection by lambda and that not friendly to debugging.</p>
  
  <p>I would like to hear opinions about how good and how code clear it is to use more or less the lambda expressions. </p>
  
  <p>(this is not the better example, but let's say it was the trigger)</p>
  
  <p>I was writing the following code. The use of the <code>delegate { return null; }</code> helps me avoid having to ask if the event is null or not every time I have to use it.</p>
  
  <pre><code>public delegate ContactCellInfo.Guest AddGuest();
  public event AddGuest GuestRequest = delegate { return null;}
  </code></pre>
  
  <p>Im using resharper and the wise resharper( even it some times literaly eats the memory) made me the following suggestion</p>
  
  <pre><code>public delegate ContactCellInfo.Guest AddGuest();
  public event AddGuest GuestRequest = () =&gt; null;
  </code></pre>
  
  <p>At my point of view the code using the delegate looks clearer. I am not against the Lamdba expression just would like to hear some advices on how and when to use them. </p>