C# type conversion?
<pre><code>public static Series MeterReadingsToPieChart(IEnumerable&lt;Dictionary&lt;string, double&gt;&gt; readings)
{
    object[] points = ? // I dont know how can I create this array from readings.

    Series series = new Series
    {
        Type = ChartTypes.Pie,
        Name = "",
        Data = new Data(points)
    };

    return series;
}
</code></pre>

<p>I want to create the following dynamically from the above code</p>

<pre><code>Series series = new Series
{
    Type = ChartTypes.Pie,
    Name = "",
    Data = new Data(new object[]
           {
               new object[] { "Gaziemir", 45.0 },
               new object[] { "Bornova", 26.8 },
               new object[] { "Forum Bornova", 8.5 }
           })
};
</code></pre>

<p>Could you show a starting point?</p>

<p>Thanks</p>
