Пример #1
0
        public override string ToString()
        {
            string infoGasMotorcycle = string.Format("{0}\n{1}", base.ToString(), m_Motorcycle.ToString());

            return(infoGasMotorcycle);
        }
Пример #2
0
 public override string ToString()
 {
     return(string.Format("{0} {1}Max amount of fuel: {2} {1}{3}", base.ToString(), System.Environment.NewLine, k_MaxAmountOfFuel, m_Motorcycle.ToString()));
 }
Пример #3
0
 public override string ToString()
 {
     return(string.Format("{0} {1}Max battery time: {2} {1} {3}", base.ToString(), System.Environment.NewLine, k_MaxBatteryTime, m_Motorcycle.ToString()));
 }