// method to render apple location private void RenderApple() { bool isit = true; do { apple.RenderLocation(); appleBox.Location = apple.Location; for (int i = 1; i < lenght; ++i) { if (apple.Location != tails[tick - i].Location) { isit = false; } } } while (isit == true); }