title: C# : MS Chart : SeriesCollection -> InvalidCastException?
body: <p>What is the correct way to get the Series of a char in PPT 2010.</p>
  
  <p>I tried</p>
  
  <pre><code>PowerPoint.SeriesCollection mySeriesCollection = (PowerPoint.SeriesCollection)
                                                             myChart.SeriesCollection(1);
  </code></pre>
  
  <p>throws the following exception</p>
  
  <pre><code>Exception Type:        System.InvalidCastException
  </code></pre>
  
  <p>Further, What is the correct call in C# to get the series of a chart ?</p>
  
  <p>If I try this way:</p>
  
  <pre><code>PowerPoint.Series mySeries = (PowerPoint.Series)myChart.SeriesCollection.Item(1);
  </code></pre>
  
  <p>I get the following compile error :</p>
  
  <pre><code>error CS0119: 'Microsoft.Office.Interop.PowerPoint.Chart.SeriesCollection(object)'
  is a 'method', which is not valid in the given context
  </code></pre>