Click or drag to resize

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)
Syntax
public Card TakeTopCard()

Return Value

Type: Card
the top card
See Also