/// <returns>elapsed time in seconds since object creation</returns> public sealed override String ToString() { long endTime = DateTime.Now.Millisecond; String duration = DiffTime(myDurationFormat, startTime, endTime); if (myMsgFormat == null) { return(duration); } else { return(myMsgFormat.FormatObject(new Object[] { duration })); } }