Pass static Action as parameter
<p>What I'm trying to do is:</p>

<pre><code>public static Action&lt;string&gt; action_thread_ended { get; private set; }

public static void action_set(Action&lt;string&gt; target, Action&lt;string&gt; source)
{
    target += source;
}
</code></pre>

<p>Usage (from different class)</p>

<pre><code>MyClassName.action_set(MyClassName.action_thread_ended, Console.WriteLine);
</code></pre>

<p>Result: Nothing</p>

<p>I am of course trying to do this to prevent having to make an <code>action_set</code> function for each Action in the class.</p>

<p>Is this possible?</p>
