CST1620 C# Programming

Week 8

We cover chapter 9 in the book - Using Classes and Objects.

Watch these videos:

Object-oriented Programming in 7 minutes (Youtube video) (7:33)
Object-oriented Programming in 7 minutes (Youtube video) (no ads)

How to Create Classes And Objects in C# (Youtube video) (15:58)
How to Create Classes And Objects in C# (Youtube video) (no ads)

Watch the class lecture recording for the week. We do the in class exercise in the recording.


Homework Labs:


Chap 9 Review Questions - due in one week

Mark up the RTF document provided with your selected answers. chap9review.rtf
Submit the RTF document to the D2L dropbox.


FractionMath - due in one week

FractionMath - example

First complete what we did in class where we did the Add of two Fraction objects.
Then your assignment is to complete the other functions (subtract, multiply, and divide). 7pts
Also you need to do this:
Include a method that returns a string that contains a Fraction in the usual display format such as "3 / 4" or "-9 / 11", etc. 3pts. Display this result in the GUI form.

Submit three things to the D2L dropbox for this lab:
1) Screenshot of your running program with data. The data I want you to use is 6/12 subtract -12/16.
Make sure you capture your entire desktop.
2) Screenshot of as much of your code as possible. In particular the subtraction code.
3) The entire project folder as a ZIP file. This folder should contain your entire project and solution.