public override string ToString() { var builder = new StringBuilder(); builder.AppendFormat("\nEffort: {0}\n", Effort != null ? Effort.ToString() : string.Empty); builder.AppendFormat("Segment: {0}\n", Segment != null ? Segment.ToString() : string.Empty); return(builder.ToString()); }
public override string ToString() { var builder = new StringBuilder(); builder.AppendFormat("\nRank: {0}\n", Rank); builder.AppendFormat("Effort: {0}\n", Effort != null ? Effort.ToString() : string.Empty); builder.AppendFormat("Athlete: {0}\n", Athlete != null ? Athlete.ToString() : string.Empty); return(builder.ToString()); }