DotNetExts 1.0.0

Suggested Alternatives

pkar.DotNetExts 1.2.1

Additional Details

Newer version has added prefix to Nuget's ID.

There is a newer version of this package available.
See the version list below for details.
dotnet add package DotNetExts --version 1.0.0                
NuGet\Install-Package DotNetExts -Version 1.0.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="DotNetExts" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetExts --version 1.0.0                
#r "nuget: DotNetExts, 1.0.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.
// Install DotNetExts as a Cake Addin
#addin nuget:?package=DotNetExts&version=1.0.0

// Install DotNetExts as a Cake Tool
#tool nuget:?package=DotNetExts&version=1.0.0                

This Nuget contains several extensions to .Net types, that I use in many of my programs.

for String

Function MacStringToULong(ByVal MACstring As String) As ULong
Function DePascal(ByVal input As String)
Function StartsWithOrdinal(ByVal baseString As String, value As String) As Boolean
Function EndsWithOrdinal(ByVal baseString As String, value As String) As Boolean
Function IndexOfOrdinal(ByVal baseString As String, value As String) As Integer
Function TrimBefore(ByVal baseString As String, startString As String) As String
Function TrimAfter(ByVal baseString As String, endString As String) As String
Function TrimBeforeLast(ByVal baseString As String, startString As String) As String
Function TrimAfterLast(ByVal baseString As String, endString As String) As String
Function SubstringBetweenInclusive(ByVal baseString As String, startString As String, endString As String) As String
Function SubstringBetweenExclusive(ByVal baseString As String, startString As String, endString As String) As String
Function RemoveBetween(ByVal baseString As String, sStart As String, sEnd As String) As String
Function Depolit(ByVal basestring As String) As String
Function ToValidPath(ByVal basestring As String, Optional useDepolit As Boolean = True, Optional invalidCharPlaceholder As String = "") As String

for Integer

Function ToStringWithSpaces(ByVal value As Integer) As String
Function ToSIstring(ByVal value As Integer) As String
Function ToStringDHMS(ByVal iSecs As Integer) As String

for Long

Function FileLen2string(ByVal iBytes As Long) As String
Function ToStringWithSpaces(ByVal iLong As Long) As String
Function ToSIstring(ByVal value As Long) As String
Function ToStringDHMS(ByVal seconds As Long) As String
Function ToSIstringWithPrefix(ByVal value As Long, unitSymbol As String, Optional fullPrefix As Boolean = False, Optional binary As Boolean = False) As String

for Ulong

Function ToHexBytesString(ByVal value As ULong) As String

for dates

Function ToModifiedJulianDay(ByVal data As Date) As Double
Function ToJulianDay(ByVal data As Date) As Integer
Function ToStringDHMS(ByVal czas As TimeSpan) As Integer

other

Function Between(Of T)(ByVal value As T, minVal As T, maxVal As T) As T
Function ToDebugString(ByVal aArr As Byte(), iSpaces As Integer) As String
Async Function IsSameStreamContent(ByVal oStream1 As Stream, oStream2 As Stream) As Task(Of Boolean)
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.4 is compatible.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DotNetExts:

Package Downloads
BTdump

Various debug helpers for Bluetooth

GitHub repositories

This package is not used by any popular GitHub repositories.