Sharpify 2.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sharpify --version 2.2.0
                    
NuGet\Install-Package Sharpify -Version 2.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sharpify" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sharpify" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Sharpify" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sharpify --version 2.2.0
                    
#r "nuget: Sharpify, 2.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sharpify@2.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sharpify&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Sharpify&version=2.2.0
                    
Install as a Cake Tool

CHANGELOG

v2.2.0

  • SortedList
    • GetIndex now is not simplified, instead returns pure result of performing a binary search:
      • if the item exists, a zero based index
      • if not, a negative number that is the bitwise complement of the index of the next element that is larger than the item or, if there is no larger element, the bitwise complement of Count property.
      • With this you can still find out if something exists by checking for negative, but you can now also use the negative bitwise complement of the index to get section of the list in relation to the item, best used with the span.
    • Added AddRange functions for ReadOnlySpan{T} and IEnumerable{T}
  • Collection extensions ToArrayFast and ToListFast were removed after being marked as Obsolete in the previous version, the LINQ alternatives perform only marginally slower, but will improve passively under the hood, consider using them instead.
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sharpify:

Package Downloads
Sharpify.Data

An extension of Sharpify, focused on Data

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.1 708 11/18/2025
2.5.0 1,181 11/13/2024
2.4.0 4,087 10/21/2024
2.4.0-alpha 289 10/8/2024
2.2.0 702 7/26/2024
2.1.0 221 7/18/2024
2.0.0 354 6/3/2024
1.8.1 271 5/30/2024
1.8.0 247 4/17/2024
1.7.3 356 1/29/2024
1.7.2 230 1/23/2024
1.7.1 456 1/20/2024
1.7.0 218 1/20/2024
1.6.0 254 1/15/2024
1.5.0 284 1/10/2024
1.4.2 237 1/8/2024
1.4.1 320 1/4/2024
1.4.0 280 1/4/2024
1.3.1 252 12/31/2023
Loading failed