I write a control that displays a list of items (in this case just strings). I gave the developer a list of items where he can add and remove items (see code below). I wished there would be a way to be notified when a new item has been added and stuff. So as a reaction the control can update.
private List<string> items = new List<string>();
public List<string> Items
{ get { return items; } }
How can I do that ? List<...>
has no events. What can I do ?