Can someone explain how I would add the GENERATED notifications inside the C# class constructor, if an initial list is started in the code that is creating the new class. Is Notifications = notificationsPASSEDList
only run after the constructor?
//.. get list of notifications to pass
var myClass = new MyClass { Notifications = notificationsPASSEDList }
public class MyClass {
public List<NotificationsClass> Notifications;
public MyClass () {
// .. get list of generated notifications
Notifications.AddRange(notificationsGENERATEDList)
}
}