protected void ExecuteOne() { var TaskDelegate = Tasks.Dequeue(); TaskDelegate(); if (Tasks.Count == 0) { Timer.Stop(); } }