public int find(String caption) { for (int i = 0; i < listGames.Count; i++) { if (listGames[i].Caption == caption) return i; } return -1; }