コード例 #1
0
 public override string ToString()
 {
     return(string.Format("{0} {1} Time={2} Calories={3} ({4})", DatePerformed.ToString("MM/dd/yyyy"), Sport, Duration, Calories, Id));
 }
コード例 #2
0
 public override string ToString()
 {
     return(string.Format("{0}", DatePerformed.ToString("yy/MMM/dd")));
 }