MichMcb.CsExt 0.4.0

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

// Install MichMcb.CsExt as a Cake Tool
#tool nuget:?package=MichMcb.CsExt&version=0.4.0                

A library full of helpful stuff. It's just a collection of functions I've created. Note that for this particular library, as it's mainly stuff that I make for myself that I feel like sharing, I won't hesitate to make breaking changes, and will mostly try and keep it up to date with the latest .NET releases. I will (probably) document any breaking changes and whatnot.

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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.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 tizen40 was computed.  tizen60 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.
  • .NETStandard 2.0

  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 146 2/4/2024
3.3.0 360 8/16/2023
3.2.0 523 2/8/2023
3.1.2 648 10/25/2022
3.1.1 682 9/7/2022
3.1.0 659 8/11/2022
3.0.0 693 7/26/2022
2.6.0 714 7/5/2022
2.5.0 730 4/5/2022
2.4.0 682 3/29/2022
2.3.1 713 3/22/2022
2.3.0 696 3/19/2022
2.2.1 688 3/1/2022
2.2.0 693 2/28/2022
2.1.0 673 2/25/2022
2.0.0 541 11/22/2021
1.2.0 582 11/17/2021
1.1.0 576 11/8/2021
1.0.1 652 8/25/2021
1.0.0 613 8/12/2021
0.9.1 622 7/6/2021
0.9.0 641 6/25/2021
0.8.2 617 6/24/2021
0.8.1 655 6/16/2021
0.8.0 659 6/14/2021
0.7.1 616 6/4/2021
0.7.0 599 6/3/2021
0.6.0 665 2/17/2021
0.5.1 753 1/2/2021
0.5.0 737 1/1/2021
0.4.2 744 12/3/2020
0.4.1 723 11/11/2020
0.4.0 763 11/4/2020
0.3.2 766 9/28/2020
0.3.1 806 9/20/2020
0.3.0 777 9/9/2020
0.2.2 748 8/27/2020
0.2.1 760 8/26/2020
0.2.0 770 8/6/2020
0.1.0 777 7/30/2020

- StripInvalidFileNameChars only allocates a new string if there are actually chars to strip
- String.Truncate extension method (exists for Span and ReadOnlySpan too)
- BitConvert no longer requires a Span, it takes ReadOnlySpan where appropriate, and they are passed with "in" now as well
- BitConvert can also parse ushort/uint/ulong now from a little/big endian span of bytes
- XML doco
- Crc32Stream added, to calculate a CRC32 on a stream as it's read/written
- Failure method for Maybe, which works just like Success but in reverse