namespace Game { /// /// Enumerates the different possible outcomes of applying a transaction. /// public enum TransactionResult { /// /// The transaction was successful. /// Ok, /// /// The transaction failed because the seller tried to sell more shares /// than he or she owns. /// Oversold, /// /// The transaction failed because the net cost was greater than the /// seller's available cash. /// Overspent } }