Encapsulation—Kathleen is an event planner

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
CSharp-Online.NET:Articles
C# Articles

Encapsulation

© 2007 O'Reilly Media, Inc.

Kathleen is an event planner

She’s been planning dinner parties for her clients and she’s doing really well. But lately she’s been having a hard time responding to clients fast enough with an estimate for her services.

Image:HeadFirstCSharp05-02.jpg

When a new client calls Kathleen to do a party, she needs to find out the number of guests, what kind of drinks to serve, and what decorations she should buy. Then she uses a pretty complicated calculation to figure out the total cost, based on a flow chart she’s been using for years. The bad news is that it takes her a long time to work through her chart, and while she’s estimating, her potential clients are checking out other event planners.

It’s up to you to build her a C#-driven event estimator and save her business. Imagine the party she’ll throw you when you succeed!



Previous_Page_.gif Next_Page_.gif

Personal tools