title: NotifyPropChanged error
body: <p>I am new to C#. I am trying to run these 2 pieces of code but got stuck at 2 error. I listed down the code and the errors, what should I do to get rid of the errors?</p>
  
  <pre><code>private void NotifyPropChanged(string propName)
  {
    PropertyChanged(this, new PropertyChangedEventArgs(propName));
  }
  </code></pre>
  
  <blockquote>
    <p>cannot convert from 'System.ComponentModel.PropertyChangedEventArgs' to 'System.ComponentModel.ProgressChangedEventArgs'   </p>
  </blockquote>
  
  <pre><code> static void Main(string[] args)
   {
     Document d = new Document("Test Document");
  
     d.PropertyChanged += delegate (object sender, PropertyChangedEventArgs e)
     {
       Console.WriteLine("Document property changed:{0}", e.PropertyName);
     };
  </code></pre>
  
  <blockquote>
    <p>Cannot convert anonymous method to delegate type 'System.ComponentModel.ProgressChangedEventHandler' because the parameter types do not match the delegate parameter types    </p>
  </blockquote>