https://github.com/dimesoftware/system
🦸 Extensions to the System namespace.
https://github.com/dimesoftware/system
csharp dotnet utility-library
Last synced: 25 days ago
JSON representation
🦸 Extensions to the System namespace.
- Host: GitHub
- URL: https://github.com/dimesoftware/system
- Owner: dimesoftware
- License: mit
- Created: 2020-04-28T07:18:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-11-13T08:06:32.000Z (7 months ago)
- Last Synced: 2026-05-01T10:06:11.455Z (about 1 month ago)
- Topics: csharp, dotnet, utility-library
- Language: C#
- Homepage:
- Size: 408 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README

# Extensions to the .NET System namespace
[](https://dev.azure.com/dimesoftware/Utilities/_build/latest?definitionId=171&branchName=master)  
## Introduction
This project is meant to extend the capabilities of the System namespace with extra utility functions.
## About this project
The most notable types in this assembly include:
- `Ensure`: a handy and lightweight validation class.
- `TryParse`: try parsing string to integers
## Getting Started
- You must have Visual Studio 2019 Community or higher.
- The dotnet cli is also highly recommended.
## Build and Test
- Run dotnet restore
- Run dotnet build
- Run dotnet test
## Installation
Use the package manager NuGet to install Dime.System:
`dotnet add package Dime.System`
## Usage
``` csharp
using System;
public void MyMethod(MyClass myClassParameter)
{
Ensure.Argument.NotNull(myClassParameter, nameof(myClassParameter), "Parameter cannot be null");
}
```
## Contributing

Pull requests are welcome. Please check out the contribution and code of conduct guidelines.
## License
[](http://badges.mit-license.org)