I'm porting an application from Java to C# and I'm facing a problem connected to the different behaviors and features between the java.util.Timer
and System.Threading.Timer
.
In fact, in the Java version of the Timer class there's a feature (used in the original code) for scheduling tasks, that is not present in the .NET version, where it is possible to schedule one task (through a delegate function) at a time.
Is there a solution, even a small class-set to implement the feature?
I've noticed the existence of several scheduling libraries (an example is Quartz), but I would prefer a solution which would minimize the amount of code to use.
Thank you all! :)