title: Anonymous method should return a string by condition
body: <p>I'm trying to understand writing anonymous Methods in C#.
  But having trouble to achieve a success.</p>
  
  <p>Please have a look at my example.
  I'm trying to fill a property named Value by given conditions.</p>
  
  <p>When I would write a private helper method which takes an inputparam int lockCardStatus and returns a string that would be a solution but my intention is to try this with a "quickshot" like so:</p>
  
  <pre><code>MailMessageTextPlaceholders = new List&lt;MailMessageTextPlaceholder&gt;
  {
      new MailMessageTextPlaceholder
      {
          PlaceholderName = "status",
          Value = y =&gt; 
          {
              switch (_lockCard.Status)
              {
                  case (int)LockCard.LockCardStatus.Done :
                      return "Is Done";
                  case (int)LockCard.LockCardStatus.Pending :
                      return "Is in Pending status";
                  case (int)LockCard.LockCardStatus.Open :
                      return "Has been created";
                  default:
                      return "No status yet!";
              }
          }
      }
  }
  </code></pre>
  
  <p>Unfortunately the compiler says:</p>
  
  <blockquote>
    <p>Lambda Expression cannot be converted to type string because it is not a delgate.</p>
  </blockquote>