C#C
C#3y ago
CrosRoad95

❔ Listening for object properties changed

let's say i have a object:
class Foo
{
  public int Counter {get;set;}
}

i would like to attach an event listener automatically for its all properties so if i do
foo.Counter++;
some method will invoked without manually adding code to every property
Was this page helpful?