Examples from Chapter 1 (Introduction) of Programming C# 10.0 (O'Reilly).
- Example 1. Our first program
- Example 2. Hello world with visible boilerplate
- Example 3. A unit test class for our first program
- Example 4. Calling a method
- Example 5. A simple class
- Example 6. Pre-C# 10.0 namespace declaration
- Example 7. A global using directive
- Example 8. Resolving ambiguity with aliases
- Example 9. Nesting namespace declarations
- Example 10. Nested namespace with a single declaration
- Example 11. A class with a method
- Example 12. Calculating the average
- Example 13. Program entry point with arguments
- Example 14. Test class with attribute
- Example 15. Annotated methods part 1 and part 2