using System.Collections.ObjectModel;
using System.Collections.Specialized;
using static System.Console;
public static void Main()
var obsColl = new ObservableCollection<string>
obsColl.CollectionChanged += HandleChange;
private static void HandleChange(object sender, NotifyCollectionChangedEventArgs e)
foreach (var novoItem in e.NewItems)
WriteLine($"O item {novoItem} foi adicionado");