Top 20 NuGet null Packages

Optional is a robust option/maybe type for C#.
Add null checks.
The Diagnostics library provides classes that help checking incoming parameters of a method using the Fluent API or not, depending on what you prefer.
Contains many exception classes for common basic errors. Clear messages, concise syntax, strongly-typed, good performance. Generates messages like "myParent.MyChildren[0].MyProperty is null.", "height of 2 is less than 10.", "Customer with key { customerNumber = 1234, customerType = Subscriber } not...
XmlToObjectConverter converts an XmlDocument or string to an object graph. The way to map XML to classes is easier than the classic ways in .NET. XmlHelper allows you to access XML in a null-safe and multiplicity-safe way. It uses XmlDocument as the underlying .NET API.
Optional is a robust option/maybe type for C#.
Useful Optional extensions for working with collections.
Various useful functionality for Optional.
Simple strong typing of whether JSON properties are excluded or null. JsonSkippable is an F# library that allows you to simply differentiate between null and omitted JSON properties in a strongly typed manner, for both serialization and deserialization.
Fluent Null check - With - Return - If - Unless - Do - As<> - AsNullable<> - Cast<> - SilentCast<> - TryWith - TryReturn - TryDo -Throw Check argument and throw exception - ShouldnotBeNull - ShouldHaveValue (for T?) - ShouldBeInRange - ShouldnotBeInRange - ShouldBeAtLeast - ShouldBeAtMost - ShouldS...
A class which defines a date which can have null for components (day, month, year) of the date.
Roslyn analyzer for enforcing null contracts
Guardian. Mostly of null values. An unobtrusive, lightweight, guard clause source code package: less than 300 lines of code. Should be used like this: Guard.Against.Null(() => parameter); May be extended like this: Guard.Against.Empty(() => collection); Possibly the best t...
Extension methods and other objects for integrating the Optional# Optional type into .NET.
Guard is a simple class which helps you validate arguments.
Provides extension methods for the Guardian source code package.
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 supp...
Ensure.Net is a null checker library for .NET
A simple and easy to use option type for C#.
NList brings an enormous number of powerful, STL-like algorithms to the .NET platform for processing indexable collections. There is a handlebars.js-like text generator. It has a powerful IComparer builder. There is a DefaultDictionary class. There is a class to convert an object into a dictionary o...