Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

michel-pi/NetStandardExtensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetStandardExtension

This library provides frequently used methods as extension methods. It mainly adds better support for null checking, exception throwing and enumerables.

NuGet

Install-Package NetStandardExtensions

Features

  1. Check if collections are null or empty
  2. Converting strings and other types into a target type using default conversion method
  3. Clone enumerables and loop through them with ForEach, Take, TakeWhile and TakeUntil
  4. Flatten arrays of any type into a string
  5. Throw exceptions directly from any type
  6. IsNull and IsDefault (and more) for every type
  7. Clamp numbers to minimum and maximum values
  8. Limit numbers and strings to a maximum
  9. A shortcut for String.Format and String.Concat

.Net Standard

We build this library with the .Net Standard 1.0 and thats why it supports all .Net platforms.

.NET Standard
1.0
.NET Core 1.0
.NET Framework 4.5
Mono 4.6
Xamarin.iOS 10.0
Xamarin.Mac 3.0
Xamarin.Android 7.0
Universal Windows Platform 10.0
Windows 8.0
Windows Phone 8.1
Windows Phone Silverlight 8.0

Contribute

Clone or download the repository.

Help adding features, fixing issues or provide a better documentation.

Donate

Do you like this project?

BTC     bc1qp6zc73vy8pmr6lfe4cxa6eqzvkuer9hrjwpzza

License

The Unlicense

About

A collection of extension methods for .Net Core, .NetFramework >= 4.5, Mono, Xamarin, UWP, Phone

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages