Problem with Action in c# 3.0
<p>iam coding a c# .net 3.0 asynchronous call to a wcf service. And i get fallowing error.</p>

<blockquote>
  <p>Error 1   Using the generic type 'System.Action' requires '1' type
  arguments.</p>
</blockquote>

<p>But when doing this in .net 3.5 no error occurs. Doesnt .net 3.0 support this or iam doing wrong. I have to use .net 3.0 because iam writing a application for XPe.</p>

<p>This is how my code looks like.</p>

<pre><code>            AsyncCallback aSyncCallBack =
  delegate(IAsyncResult result)
  {
      try
      {
          service.EndSubscribe(result);

          this.Dispatcher.BeginInvoke((Action)delegate
          { DGStudent.ItemsSource = test; });
      }
      catch (Exception ex)
      {
          this.Dispatcher.BeginInvoke((Action)delegate
          { MessageBox.Show(ex.Message); });
      }
  };
</code></pre>
