Skip to main content
Core.Maybe package icon

Core.Maybe

Option types for C# with LINQ support and rich fluent syntax for many popular uses: var maybeOne = "one".ToMaybe(); Maybe<string> maybeAnother; var maybeBoth = from one in maybeOne from another in maybeAnother select one + another; maybeBoth.Match( both => Console.WriteLine("Result is: {0}", both), @else: () => Console.WriteLine("Result is Nothing, as one of the inputs was Nothing") );

Total Downloads
1.5M
1,481,284
Published
Mar 30, 2023
Latest stable version

Install

.NET CLI
dotnet add package Core.Maybe --version 6.0.0
Package Manager Console
Install-Package Core.Maybe -Version 6.0.0
PackageReference
<PackageReference Include="Core.Maybe" Version="6.0.0" />

Frameworks

.NETStandard2.1

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.