ThankGodItsFriday
Programmer
I have an arraylist of objects where I need to run an execution function for each diffrent object at a diffrent time.
Sofar I've been leaning towards solving it with a timer that iterates through the objects and checks if System.DateTime.Now() > obj.ExecutionDate
It feels however like sloppy programming since the majority of timer events won't be used.
Is there a way to shedule the function call for each object?
Sofar I've been leaning towards solving it with a timer that iterates through the objects and checks if System.DateTime.Now() > obj.ExecutionDate
It feels however like sloppy programming since the majority of timer events won't be used.
Is there a way to shedule the function call for each object?