 | DeckTakeTopCard Method |
Takes the top card from the deck. If the deck is empty, returns null
Namespace:
ConsoleCards
Assembly:
ConsoleCards (in ConsoleCards.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Card TakeTopCard()
Public Function TakeTopCard As Card
public:
Card^ TakeTopCard()
member TakeTopCard : unit -> Card
Return Value
Type:
Cardthe top card
See Also