In the following exercises, you'll create a method that calculates how much a consultant would charge for a given number of consultancy days at a fixed daily rate. You will start by developing the logic for the application and then use the Generate Method Stub Wizard to help you write the methods that are used by this logic. Next, you'll run these methods in a Console application to get a feel for the program. Finally, you'll use the Visual Studio 2008 debugger to step in and out of the method calls as they run.
Develop the logic for the application
Using Visual Studio 2008, open the DailyRate project in the \Microsoft Press\Visual CSharp Step by Step\Chapter 3\DailyRate folder in your Documents folder.
In the Solution Explorer, double-click ...