public void AddNotification(Notification notification) { Notification[] notifications = new Notification[++NotificationCount]; if (Notifications != null) { Notifications.CopyTo(notifications, 0); } notifications[notifications.Length - 1] = notification; Notifications = notifications; }