title: Cannot convert lambda expression to type 'object' because it is not a delegate type
body: <p>I have a base class that has a bool property which looks like this:</p>
  
  <pre><code>public abstract class MyBaseClass
  {
       public bool InProgress { get; protected set; }
  }
  </code></pre>
  
  <p>I am inheriting it another class from it and trying to add InProgress as a delegate to the dictionary. But it throws me an error. This is how my Derived class looks like:</p>
  
  <pre><code>public abstract class MyClass
  {
       Dictionary&lt;string, object&gt; dict = new Dictionary&lt;string, object&gt;();
       dict.Add("InProgress", InProgress =&gt; base.InProgress = InProgress);
  
  }
  </code></pre>
  
  <p>This is the error I am getting:</p>
  
  <blockquote>
    <p>Cannot convert lambda expression to type 'object' because it is not a delegate type</p>
  </blockquote>
  
  <p>What am I doing wrong here?</p>