 | Card Constructor |
Constructs a card with the given rank and suit
Namespace:
ConsoleCards
Assembly:
ConsoleCards (in ConsoleCards.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Card(
Rank rank,
Suit suit
)
Public Sub New (
rank As Rank,
suit As Suit
)
public:
Card(
Rank rank,
Suit suit
)
new :
rank : Rank *
suit : Suit -> CardParameters
- rank
- Type: ConsoleCardsRank
the rank - suit
- Type: ConsoleCardsSuit
the suit
See Also