public override string ToString() { string fmt = "GT={0}, LT={1}, I={2}"; string fmt2 = "{0}, **LOG: {1}"; StringBuilder sb = new StringBuilder(); sb.AppendFormat(fmt2, string.Format(fmt, GT.ShowR(), LT.ShowR(), I.ShowR()), string.Format(fmt, LogGT.ShowR(), LogLT.ShowR(), LogLT.ShowR())); return(sb.ToString()); }
public string Show() { string fmt = "Y={0}, GT={1}, LT={2}, I={3}"; string fmt2 = "{0}, **LOG: {1}"; StringBuilder sb = new StringBuilder(); sb.AppendFormat(fmt2, string.Format(fmt, Y.ShowR(), GT.ShowR(), LT.ShowR(), I.ShowR()), string.Format(fmt, LogY.ShowR(), LogGT.ShowR(), LogLT.ShowR(), LogLT.ShowR())); return(sb.ToString()); }