public void RevealCard() { try { RevealedCards.Add(HiddenCards[0]); HiddenCards.RemoveAt(0); } catch { } }
/// <summary> /// Take the top card from HiddenCards, remove it, and add it to RevealedCards. /// </summary> public static void RevealCard() { RevealedCards.Add(HiddenCards[0]); HiddenCards.RemoveAt(0); }