public void MoveUp() { Boolean status = true; while (status) { if ((DateTime.Now - Starttime).TotalSeconds > Lifetime) { status = false; MyThread.Suspend(); } lock (this.LockObject) { this.Delete(); this.Y -= this.Speed; Thread.Sleep(50); if (this.Y <= this.Speed || this.Y <= 6) { this.Delete(); this.Y = Console.WindowHeight - 2; } this.Display(); } } }