"I Need visual basic code for an inheritance hierarchy for classes Quadrilateral, Trapezoid, Parallelogram, rectangle and square.
Use Quadrilateral as the base class of the hierarchy. Specify the instance variables, properties and methods for each class. The private instance variables of the Quadrilateral should be the x-y coordinate pairs for the four endpoints of the Quadrilateral.
Write an application that instantiates objects of your classes and outputs each object's area."
This is a homework problem from the book "Visual Basic 2008- How to program". Chapter 10. I need the source code for the console application.