public override string ToString()
 {
     if (this.TransactionType == TransactionTypeEnum.Deposit)
     {
         return($"({this.Id}) - Deposito: desde {this.OriginAccount} hasta {this.DestinyAccount} - {CreationTime.ToShortDateString()}");
     }
     else
     {
         return($"({this.Id}) - Retiro: de la cuenta {this.OriginAccount} - {CreationTime.ToShortDateString()}");
     }
 }
Example #2
0
 public override string ToString()
 {
     return(string.Format("Version {0}, Date: {1}, Length: {2}", Version, CreationTime.ToShortDateString(), Length));
 }