https://github.com/melgrubb/ps-oo-cs10
Demo assets for my Pluralsight course "Object-Oriented Design with C# 10"
https://github.com/melgrubb/ps-oo-cs10
Last synced: 6 months ago
JSON representation
Demo assets for my Pluralsight course "Object-Oriented Design with C# 10"
- Host: GitHub
- URL: https://github.com/melgrubb/ps-oo-cs10
- Owner: MelGrubb
- License: mit
- Created: 2022-09-11T14:14:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T01:15:40.000Z (over 1 year ago)
- Last Synced: 2025-03-29T07:22:07.185Z (6 months ago)
- Language: C#
- Size: 112 KB
- Stars: 5
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Object-oriented Design with C# 10
This repository contains demo assets for my Pluralsight course "Object-Oriented Design with C# 10". There are multiple different demos, organized under a single solution. The main branch contains the final state of all demos at the end of the course. Other branches will be taken at various points during the course.
## Branches
Branches exist for the beginning and ending point of each module, except for Module 1, which is the course overview. Clone the repository and switch to the appropriate starting branch for each module if you want to follow along, or check out the "-end" branch to see the final state of the project at the end of that module.
- 02-introduction
- 02-introduction-end
- 03-pillars
- 03-pillars-end
- 04-solid
- 04-solid-end
- 05-patterns
- 05-patterns-end
- 06-nullability
- 06-nullability-end
- 07-records
- 07-records-end
- 08-solutions
- 08-solutions-end
- 09-together
- 09-together-end## Diagrams
This course makes frequent use of UML diagrams. For simplicity, they have been rendered in markdown files using the Mermaid syntax. They can be viewed from within Visual Studio through the use of an appropriate extension such as Mads Kristensen's "Markdown Editor v2", which you can install from Visual Studio's extension manager, or download from the Visual Studio Marketplace [here](https://marketplace.visualstudio.com/items?itemName=MadsKristensen.MarkdownEditor2).### Example
The following code block describes an example class diagram taken from the Mermaid [site](https://github.com/mermaid-js/mermaid). If you do not see a diagram, then you'll need to install an extension or open this readme in a tool that can understand Mermaid diagrams.
```mermaid
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal <|-- Zebra
Animal : +int age
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}
``````mermaid
classDiagram
ClassA "1" ..|> "*" InterfaceA : Implements
ClassB --|> ClassA : Inheritsclass ClassA {
+string Name
}class ClassB {
+string Description
}
```