Ejemplo n.º 1
0
        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());
        }
Ejemplo n.º 2
0
        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());
        }