title: Shorter code to trigger property changed events
body: <p>I have a class with tens of properties that need to raise property changed events, currently my code looks something like </p>
  
  <pre><code>public class Ethernet : INotifyPropertyChanged
  {
      public event PropertyChangedEventHandler PropertyChanged;
  
      private string timeStamp;
  
      public string TimeStamp
      {
          get { return timeStamp; }
          set
          {
              timeStamp = value;
  
              if(PropertyChanged != null)
                  PropertyChanged(this, new PropertyChangedEventArgs("TimeStamp"));
          }
      }
  }
  </code></pre>
  
  <p>Is there a shorter way in C# to write this sort of code, I am doing excessive copy/paste operations for each property and I feel there must be a better way. </p>