Provided extensions methods

NAverage ships the static class AverageExtensions (living in the namespace NAverage) providing the following (extension) methods:


Example of usage

This example shows how to calculate the midrange of a specified collection of numbers.

    double[] dotNetFrameworkVersions = new double[] { 1.0, 1.1, 2.0, 3.0, 3.5, 4.0 };
    double midrange = dotNetFrameworkVersions.Midrange();

Last edited Sep 17, 2010 at 10:47 AM by MariusSchulz, version 15


No comments yet.