Declare static classes so that they can be stored within List
<p>I am developing a software that takes realtime-data and extracts a number of features from that depending on user input. Each available feature consists of one method that takes an array of doubles and return the wanted feature, such as this one for the MeanAbsoluteValue:</p>

<pre><code>public static class MeanAbsoluteValue{
    public static double Calculate(double[] data){
        return data.Sum(s =&gt; Math.Abs(s)) / data.Length;
    }
}
</code></pre>

<p>Since each of the features only has the one Calculate method I was thinking of trying to rewrite them so that they can be collected and chosen from that Collection.</p>

<p>I have tried writing an Interface for them to use, but since they are static this was not allowed.</p>

<p>Is there a way of doing this? And if so, could you point me in the right direction?</p>
