Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.92 KB

Ch01.md

File metadata and controls

38 lines (26 loc) · 1.92 KB

Chapter 1 Examples

Examples from Chapter 1 (Introduction) of Programming C# 8.0 (O'Reilly).

Hello world with unit tests

The first four examples are all from a solution featuring the standard Hello World example, along with a unit test project.

Examples 6 and 9 also happen to come from this solution.

With Example 10, we make a change to the program to cause the tests to pass. There's a separate solution containing this modified version of this code. (It's identical except for the one change described in Example 10.)

Namespaces

The other examples in this chapter illustrate namespaces and are found in a separate solution.

Example 6, and Example 9 through 13 are all in the first example.