CST1620 C# Programming

Week 4

We cover chapter 5 in the book - Looping.


Note: Did an in-class exercise in 2020 with Visual Studio and GitHub.
At that time, Visual Studio and GitHub together was clunky.
So the GitHub topic is being left out until Visual Studio polishes the interface.

Also we are going to create a GitHub account and do simple publishing to it.

Watch these YouTube videos on what is Git and GitHub:

What is GitHub?

What is Git and GitHub?

Read this web article: Using Git with Visual Studio 2019: The Ultimate Guide


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


In class exercise:

Chapter 5 Exercise 9 Sum200 (in class exercise)

 


Homework Labs:


Lab Chap 5 Ex 9 Sum200 - due in one week

This was the 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..


Lab Chap 5 Ex 13 CountVowels - due in one week

Write a GUI program using Win Forms or WPF named CountVowels that accepts a phrase from the user and counts the number of vowels in the phrase. For this exercise, count both uppercase and lowercase vowels, but do not consider a y to be a vowel.

Note: You may use either Win Forms or WPF to create the program UI.

Please run the example to see how the program is supposed to work. Here are some hints to help you:

My example (using Win Forms) - CountVowels.exe

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.