title: I am getting error in INotifyPropertyChanged Property in WPF
body: <p><strong>Code Behind File:</strong></p>
  
  <pre><code>namespace WindowsTrainingTasks
  {
      public interface INotifyPropertyChanged
      {
          event PropertyChangedEventHandler PropertyChanged;
      }
      public class SampleViewModel :INotifyPropertyChanged
      {
          private string _name="Johnson";
          public string Name
          {
              get
              {
                  return _name;
              }
              set
              {
                  _name = value;
                  onPropertyChanged("Name");
              }
          }
          private string _mobile="9876543210";
          public string Mobile
          {
              get
              {
                  return _mobile;
              }
              set
              {
                  _mobile = value;
                  onPropertyChanged("Mobile");
              }
          }
          public event PropertyChangedEventHandler PropertyChanged;
          public void onPropertyChanged(string property)
          {
                   PropertyChangedEventHandler _PropertyChanged = PropertyChanged;
                  _PropertyChanged(this, new PropertyChangedEventArgs(property));
          }
          public SampleViewModel()
          {
  
          }
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/xjrMH.png" alt="enter image description here"></p>