CST1620 C# Programming

Week 7

We cover chapter 8 in the book - Advanced Method Concepts.

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


In class exercises:

Chapter 8 Exercise OptionalParam (in class exercise) - example

Do the exercise we did in class demonstrating optional parameter. In our case we affected the sort direction.


Homework Labs:


Lab Chap 8 Exercise OptionalParam - due in one week

This was an in class exercise. Turn in what we did in class.

Submit three things to the D2L dropbox for this lab:
1) Screenshot of your running program with data. Make sure you capture your entire desktop.
2) Screenshot of as much of your code as possible.
3) The entire solution folder as a ZIP file. This folder should contain your entire project and solution..


Chapter 8 Exercise 7 Averages - due in one week

example

Write a program named Averages that includes a method that accepts any number of numeric parameters, displays them, and displays their average. Demonstrate that the method works correctly when passed one, two, or three numbers, or an array of numbers.

Submit three things to the D2L dropbox for each lab:
1) Screenshot of your running program with data. Make sure you capture your entire desktop.
2) Screenshot of as much of your code as possible.
3) The entire project folder as a ZIP file. This folder should contain your entire project and solution.