Click or drag to resize

Card Class

A playing card
Inheritance Hierarchy
SystemObject
  ConsoleCardsCard

Namespace:  ConsoleCards
Assembly:  ConsoleCards (in ConsoleCards.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Card

The Card type exposes the following members.

Constructors
  NameDescription
Public methodCard
Constructs a card with the given rank and suit
Top
Properties
  NameDescription
Public propertyFaceUp
Gets whether or not the card is face up
Public propertyRank
Gets the card rank
Public propertySuit
Gets the card suit
Top
Methods
  NameDescription
Public methodFlipOver
Flips the card over
Public methodPrint
Prints the card
Top
See Also