SharpControls.Utils 1.0.6

dotnet add package SharpControls.Utils --version 1.0.6
                    
NuGet\Install-Package SharpControls.Utils -Version 1.0.6
                    
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="SharpControls.Utils" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpControls.Utils" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="SharpControls.Utils" />
                    
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 SharpControls.Utils --version 1.0.6
                    
#r "nuget: SharpControls.Utils, 1.0.6"
                    
#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 SharpControls.Utils@1.0.6
                    
#: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=SharpControls.Utils&version=1.0.6
                    
Install as a Cake Addin
#tool nuget:?package=SharpControls.Utils&version=1.0.6
                    
Install as a Cake Tool

Utils

StringExtensions

ReplaceFirst

Like string.Replace, but only replaces the first match

Like

Similar to Like in MySQL.

ArrayExtensions

Remove

Removes item inside array and returns a new array

HasDuplicates

Checks if the array has duplicate values inside it

GetDuplicates

Returns all duplicate values inside the array as new array

Arrays

Remove

Removes item inside array and overwrites the array

HasDuplicates

Checks if the array has duplicate values inside it

GetDuplicates

Returns all duplicate values inside the array as new array

Blogging

EstimatedReadingTime

Calculates the estimated reading time of a text in minutes, based on the words per minute

General

CountNumbers

Counts the amount of numbers inside a number

CalculateDaysInMonth

NOT IMPLEMENTED IN THIS VERSION

NumberToWords

Returns the number to a representation in words. Only english

LeadingZeros

Adds leading zeros to a integer value like ID etc.

ExtraMath

Haversine

Calculates the distance between two coordinates in kilometers

ToRadians

Converts the angle into radiants

Product Compatible and additional computed target framework versions.
.NET 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.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SharpControls.Utils:

Package Downloads
SharpControls.Validation

Validation library

SharpControls.AutoAddress

This library automatically adds the street, city, state etc. to an areacode based on informations from CEPAberto and other libraries. This is the successor of AutoCEP and should be used instead.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.6 219 3/24/2024
1.0.5 186 3/24/2024
1.0.4 195 2/16/2024
1.0.3 215 2/16/2024
1.0.2 238 2/15/2024
1.0.1 191 2/1/2024
1.0.0 194 1/28/2024

* Added ExtraMath class with Haversine function