static void Main(string[] args)
        {
            NotifyCollection test = new NotifyCollection();

            test.CollectionChanged += OnCollectionChange;
            test.Add(23);
            test.Clear();
            test.Add(15);
            test[0] = 13;
        }
 public static void Main()
 {
     NotifyCollection collection = new NotifyCollection();
     collection.CollectionChanged += OnCollectionChange;
     collection.Add(56);
     collection.Add(44);
     collection.Clear();
     collection.Add(55);
     collection[0] = 100;
 }
 static void Main(string[] args)
 {
     NotifyCollection collection=new NotifyCollection();
     collection.CollectionChanged += OnCollectionChange;
     collection.Add(14);
     collection.Add(24);
     collection.Add(3);
     collection.Clear();
     collection.Add(15);
     collection[0] = 25;
 }
        static void Main(string[] args)
        {
            NotifyCollection collection = new NotifyCollection();

            collection.CollectionChanged += OnCollectionChange;
            collection.Add(14);
            collection.Add(24);
            collection.Add(3);
            collection.Clear();
            collection.Add(15);
            collection[0] = 25;
        }