public int FindNextScreenId() { int stageCount = Screens.Count(); int nextScreenId = stageCount + 1; while (Screens.Any(s => s.Name == nextScreenId.ToString())) { nextScreenId++; } return nextScreenId; }