Yet another implementation of an option/optional type for .NET.
An Optional type explicitly represents the type of a value that may or may not exist. While you can do this with nulls, that has many drawbacks.
Some of the benefits of this library over some others include comprehensive equality support, rich debugging information, cleaner API, support for reflecting over Optionals, and more.
Install-Package OptionalSharp -Version 0.8.2
dotnet add package OptionalSharp --version 0.8.2
<PackageReference Include="OptionalSharp" Version="0.8.2" />
paket add OptionalSharp --version 0.8.2
- No dependencies.
This package is not used by any popular GitHub repositories.