Exemplo n.º 1
0
        public override string ToString()
        {
            StringBuilder toString = new StringBuilder();

            toString.AppendLine(base.ToString());
            toString.AppendLine(m_CarProperties.ToString());

            return(toString.ToString());
        }
Exemplo n.º 2
0
        public override string ToString()
        {
            string electricCarInfo = base.ToString() + Environment.NewLine + m_CarProperties.ToString();

            return(electricCarInfo);
        }