public override string ToString()
        {
            string output = "Left point: " + Leftp.ToString();

            output += ";\n Right point: " + Rightp.ToString();
            output += ";\n Top: " + Top.ToString();
            output += ";\n Bottom: " + Bottom.ToString();
            return(output);
        }
        public override bool Equals(object obj)
        {
            Trapezoid objTrap = (Trapezoid)obj;

            if (!Leftp.Equals(objTrap.Leftp))
            {
                return(false);
            }
            if (!Rightp.Equals(objTrap.Rightp))
            {
                return(false);
            }
            if (!Top.Equals(objTrap.Top))
            {
                return(false);
            }
            if (!Bottom.Equals(objTrap.Bottom))
            {
                return(false);
            }
            return(true);
        }