private void GameTimer_Elapsed(object sender, ElapsedEventArgs e) { Console.Title = DateTime.Now.ToLongTimeString(); if (CheckCollisionFoodWithWorm()) { w.Increase(w.body[0]); f.Generate(); cnt++; } }