Object Oriented Programming using C#

(backadmin) #1
Object Oriented Programming using C#
Generic Collections and how to Serialize them

Consider the UML class diagram below.

The diagram above represents the basics of a banking system (admittedly a very simplistic banking system). In this system
a class is used to simulate a Bank and maintain a collection of Accounts... for the moment we will use a List to manage
this collection.

Each element of this list will represent a single account object. One Bank object will maintain a list all accounts.

Each time an account is created the initial balance will be zero but the owner will be able to deposit money when required.
So we can focus on the essential purpose of this exercise, to demonstrate the use of a list, we won’t bother adding other
obviously required functionality (to withdraw money etc).

Stand out from the crowd
Designed for graduates with less than one year of full-time postgraduate work
experience, London Business School’s Masters in Management will expand your
thinking and provide you with the foundations for a successful career in business.
The programme is developed in consultation with recruiters to provide you with
the key skills that top employers demand. Through 11 months of full-time study,
you will gain the business knowledge and capabilities to increase your career
choices and stand out from the crowd.
Applications are now open for entry in September 2011.
For more information visit http://www.london.edu/mim/
email [email protected] or call +44 (0)20 7000 7573

Masters in Management

London Business School
Regent’s ParkLondon NW1 4SA
United KingdomTel +44 (0)20 7000 7573
Email [email protected]/mim/

Fast-track


your career


Please click the advert

Free download pdf