Skip to content

This is a collection of extension methods for .NET Core.

License

Notifications You must be signed in to change notification settings

Necas209/DotNetExtensions

Repository files navigation

DotNetExtensions

This is a collection of extension methods for .NET Core. The goal is to provide a set of useful extension methods that are not included in the .NET Core framework.

Installation

You can install the package via NuGet:

dotnet add package DotNetExtensions

Usage

using DotNetExtensions;

public class Example
{
    public void ExampleMethod()
    {
        var myNumber = 12345;
        var numberOfDigits = myNumber.NumberOfDigits(); // numberOfDigits = 5
    }
}