Is a Square a Rectangle? (Liskov Substitution Principle)(www.blackwasp.co.uk)
submitted by
BlackWasp(4212) 1 year, 4 months ago
In Geometry, a square is a special case of rectangle where the height and width of the shape are equal. When modelling squares and rectangles in object-oriented programming languages, defining this relationship can lead to unexpected bugs.
|category: C#
|Views: 10
tags:
C# another
Everyones tags:
Your Tags: