title: What is the equivalent for VB's CreateObject in c# 3.0?
body: <p>I have the below code in VB</p>
  
  <pre><code>Private Sub RefreshCharts()
  On Error GoTo err_getICHELPER_REFRESH
      Application.Cursor = xlWait
      Dim objOperationRefresh
      Set objOperationRefresh = CreateObject("Charting.AutomationProxy")
      Dim a As Variant
      Set a = Application
      objOperationRefresh.RefreshApplication a
      Application.StatusBar = "Refreshing .. "
      Do While Len(objOperationRefresh.RefreshStatus) = 0
          DoEvents
      Loop
      Application.StatusBar = "Refreshing Complete."
      Set objOperationRefresh = Nothing
      Application.StatusBar = ""
      Exit Sub
  err_getICHELPER_REFRESH:
  </code></pre>
  
  <p>I have done the conversion in C# except for <code>CreateObject("Charting.AutomationProxy").</code> What will be the equivalent of that in c# 3.0?</p>
  
  <p>Thanks</p>