using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Car_Demo
{
    class Car : Automobile
    {
        // Pole.
        private int _doors;

        // Konstruktor.
        public Car()
        {
            _doors = 0;
        }

        // Właściwość Doors.
        public int Doors
        {
            get { return _doors; }
            set { _doors = value; }
        }
    }
}
