.NET Standard 2.1
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package SoftwareCraft.Maybe -Version
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.
dotnet add package SoftwareCraft.Maybe --version
<PackageReference Include="SoftwareCraft.Maybe" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SoftwareCraft.Maybe --version
#r "nuget: SoftwareCraft.Maybe,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SoftwareCraft.Maybe as a Cake Addin
#addin nuget:?package=SoftwareCraft.Maybe&version=

// Install SoftwareCraft.Maybe as a Cake Tool
#tool nuget:?package=SoftwareCraft.Maybe&version=

SoftwareCraft.Maybe represents the OOP implementation of a functional concept. Instead of returning null, return a Maybe, and the code will be much cleaner and the intent much clearer.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .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
2.0.3 1,467 3/2/2022 1,424 12/21/2021
2.0.2 131 12/21/2021 1,019 12/16/2020 235 12/14/2020 262 12/14/2020
2.0.1 271 12/14/2020 354 8/13/2020 414 11/28/2019 372 10/9/2019
2.0.0 4,427 3/20/2019 804 6/21/2018 792 12/10/2017 997 5/11/2017 895 5/10/2017
1.0.0 1,036 5/9/2017

Added helper methods for IsSome and IsNone.