Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 874 Bytes

File metadata and controls

30 lines (22 loc) · 874 Bytes

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.

.NET CodeQL Advanced

Installation

You can install the package via NuGet:

dotnet add package DotNetExtensions

Usage

using DotNetExtensions.Core;

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