Object Classification

It's helpful to divide objects into groups. Considering the way things are classified, this makes sense. Geologists classify rocks, artists classify art forms, and biologists classify animals. This makes the objects to be dealt with more manageable and applicable to the work being accomplished.

Take animals, for example. A biologist may classify them into birds, mammals and reptiles. Birds would have attributes such as beaks and wings; mammals, hair and warm blood; and reptiles, scales and cold blood. Behavior-wise, birds fly, mammals feed their young with milk, and reptiles walk funny.

These are major object categories, and it's often advantageous to further subcategorize. This can be accomplished by adding a new string ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.