title: C# creating attribute that indicate running code after property call
body: <p>I would like to create an Attribute to put on properties.</p>
  
  <p>The properties that will contains this attribute will execute another method after setting a new value.</p>
  
  <p>For example:</p>
  
  <pre><code>    [MethodExecute(Log)]
      [MethodExecute(Save)]
      public string Name
      {
          get
          {
              return name;
          }
          set
          {
              name = value;
          }
      }
  </code></pre>
  
  <p>Here I would like to activate two methods, one will log the change and the other will save it.</p>
  
  <p>Thanks,
     Ronny</p>