Optional 4.0.0

Optional is a robust option/maybe type for C#.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Optional -Version 4.0.0
dotnet add package Optional --version 4.0.0
<PackageReference Include="Optional" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Optional --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Optional, 4.0.0"
#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 Optional as a Cake Addin
#addin nuget:?package=Optional&version=4.0.0

// Install Optional as a Cake Tool
#tool nuget:?package=Optional&version=4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

NuGet packages (67)

Showing the top 5 NuGet packages that depend on Optional:

Package Downloads
DEPRECATED: Optional.Extensions has been replaced by more specific packages. Check out Optional.Collections, Optional.Utilities etc. Extended functionality for Optional.
Async extensions for Nils Lück's Optional library.
Various useful functionality for Optional.
Useful Optional extensions for working with collections.
Extension methods galore

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Optional:

Repository Stars
An open source, git-ops, zero-trust secret encryption and decryption solution for Kubernetes applications
Grace is a feature rich dependency injection container library
A RealWorld application implemented using the Dev Adventures .NET Core template and functional programming.

Version History

Version Downloads Last updated
5.0.0-alpha 59,690 2/5/2019
4.0.0 1,356,302 2/1/2018
4.0.0-rc 5,011 10/15/2017
3.2.0 160,088 10/1/2016
3.1.0 4,375 4/17/2016
3.0.0 2,374 12/13/2015
2.2.0 13,682 4/26/2015
2.1.0 2,360 2/12/2015
0.2.0 942 2/3/2015
0.1.7 143,726 1/9/2015
0.1.6 807 12/29/2014
0.1.5 852 12/9/2014
0.1.0 953 12/8/2014