コード例 #1
0
 public override string ToString()
 {
     return($"\n{Oid.ToString()} -    {Date.ToString()}\nIN    {ClockIn.ToString()}\nOUT    {ClockOut.ToString()}\nHrs    { getTotalHours().ToString()}     Rate  ${HourlyRate.ToString()}");
 }
コード例 #2
0
 public override string ToString()
 {
     return($"Oid={Oid.ToString()},Date={Date.ToString()}, ClockIn={ClockIn.ToString()}, ClockOut={ClockOut.ToString()} TotalHours={ TotalHours.ToString()}, HourlyRate={HourlyRate.ToString()} | ");
 }