// Test if the next card is in progression if (cards[n - 1].MyValue == cards[n].MyValue) { ptr++; if (n == (cards.Length - 1)) goto detfinal; } else { // A label for quickly doing the final card detfinal: // Jump to from above