CIS166 Homework 6
CIS166 Homework 6
Homework #6
CIS 166 – Transaction Class
This exercise takes the checking account project and applies classes. Your project
will use a single form. Copy your project files in a folder to the R: drive, and turn in a
printed copy of your code, your planning documents, and this sheet in a folder.
Create a class called Transaction. The class should have the following read/write
properties: TransactionDate, TransactionType, TransactionAmount, Payee, and
CheckNumber. Include static functions to test TransactionAmount and
TransactionDate. Include a ToString method to display account information.
Manage the AccountBalance using a variable on your form.
3/22/11
Create a class to store and access the account balance. Include a read-only
property for the Balance, and a method to modify the balance.
12/26/01