title: Delegate System.Action does not take 1 arguments
body: <p>The action :</p>
  
  <pre><code>readonly Action _execute;
  
  public RelayCommand(Action execute)
               : this(execute, null)
  {
  }
  
  public RelayCommand(Action execute, Func&lt;Boolean&gt; canExecute)
  {
      if (execute == null)
          throw new ArgumentNullException("execute");
      _execute = execute;
      _canExecute = canExecute;
  }
  </code></pre>
  
  <p>Other class's code:</p>
  
  <pre><code>public void CreateCommand()
  {
      RelayCommand command = new RelayCommand((param)=&gt; RemoveReferenceExcecute(param));}
  }
  
  private void RemoveReferenceExcecute(object param)
  {
      ReferenceViewModel referenceViewModel = (ReferenceViewModel) param;
      ReferenceCollection.Remove(referenceViewModel);
  }
  </code></pre>
  
  <p>Why do I get the following exception, how can I fix it?</p>
  
  <blockquote>
    <p><em>Delegate 'System.Action' does not take 1 arguments</em></p>
  </blockquote>