Skip to content

adrianelsener/SeparationOfConcerns

Repository files navigation

Separation of Concerns

This project demonstrates the concept of Separation of Concerns with code that is totally devoid of it. The examples are:

  1. Multiplication Table (SeparationOfConcerns/MultiplicationTable.cs)
  2. Prime Factors (SeparationOfConcerns/PrimeFactors.cs)
  3. Monty Hall Problem (SeparationOfConcerns/MontyHall.cs)

The code is run by SeparationOfConcerns.Demo/Program.cs:

$ dotnet run --project SeparationOfConcerns.Demo

There are no tests in SeparationOfConcerns.Test yet, because they'd be too tedious to write due to the lack of Separation of Concerns in the code.

Your task is to clean up the mess, and then to write tests for the improved code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages