0

I wan't to ask if there is a solution for calling some method in C# when I remove/add element to System.Collections.Generic.List?

I would like this to happen when I call List.Add(Something) and then some method (let's say Foo()) will be called every time I add something to this List?

Thanks in advance.

MoonKnight
  • 22,634
  • 39
  • 139
  • 265

0 Answers0