Parameter type not assignable when storing func in dictionary
<p>I have a func which takes one parameter of Type T and returns one value.</p>

<p>I want to store it in a dictionary, like so:</p>

<pre><code>Dictionary&lt;CustomerMilestones, Func&lt;string, string&gt;&gt; coll = new Dictionary&lt;CustomerMilestones, Func&lt;string, string&gt;&gt;();

string Indicator = coll[CustomerMilestones.Ordered100Products].Invoke(customerId.ToString());

coll.Add(CustomerMilestones.Ordered100Products, Execute(Indicator);
</code></pre>

<p>Execute is a method which takes a string but also returns a string. On the last line, the error is as follows:</p>

<p>Argument type string is not assignable to parameter type Func.</p>

<p>What am I doing wrong?</p>
