static void Main()
 {
     TimerDelegate testMethod = new TimerDelegate(TestMethod);
     Timer timerTest = new Timer(testMethod, 4000);
     timerTest.Start();
     timerTest.End();
 }