Click or drag to resize
Transaction Constructor (String)
Initializes a new transaction by parsing a string of the form NAME DATE AMOUNT.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Transaction(
	string transaction
)

Parameters

transaction
Type: SystemString
transaction the string to parse
Exceptions
ExceptionCondition
ArgumentExceptionif amount is double.NaN, double.PositiveInfinity, or double.NegativeInfinity
See Also