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

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

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

            return(electricCarInfo);
        }