Update 3
What do the signs (single line, diamond with star, and arrow) mean in graph (From Eric’s ddd book p195) below:

Any code sample to illustrate would be appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The diamond is composition (also called aggregation), or a
has-arelationship. The arrow is inheritance, or anis-arelationship. The line is an Association. That leads to the question: what’s the difference between Composition and Association. And the answer is that composition is stronger and usually owns the other object. If the main object is destroyed, it will also destroy its composition objects, but not its association objects.In your example, a Facility contains a (has-a) LoanInvestment and a LoanInvestment inherits from an (is-a) Investment
Here is an excellent description of class diagrams using UML.
Here’s a code example in c++, I dont know c# well enough and Id probably mess it up 🙂