Transaction Constructor (String) |
Initializes a new transaction by parsing a string of the form NAME DATE AMOUNT.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Transaction(
string transaction
)
Parameters
- transaction
- Type: SystemString
transaction the string to parse
ExceptionsException | Condition |
---|
ArgumentException | if amount is double.NaN,
double.PositiveInfinity, or double.NegativeInfinity |
See Also