Strongly-typed c# primitives to avoid primitive obsession
Primitive obsession is a code smell where primitive data types are used excessively to represent your data models. This is a common problem that can lead to poorly written code and several failures.
For example, a string could represent a name, an address, price or temperature. This can make it difficult to understand what the code is doing and can lead to bugs.
To fix this problem, you can use strongly-typed objects instead of primitive data types. This will make your code more readable and maintainable
To install StrongPrimitives, you can use the NuGet package manager in Visual Studio. Simply search for "StrongPrimitives" and click "Install".
Alternatively, you can install StrongPrimitives using the command line:
Install-Package StrongPrimitives
If you like this project please give a star and a cup of coffee =)