# ShouldNotBe¶

ShouldNotBe is the inverse of ShouldBe.

## Objects¶

ShouldNotBe works on all types and compares using .Equals.

Exception

## Numeric¶

ShouldNotBe also allows you to compare numeric values, regardless of their value type.

Exception

Exception

## DateTime(Offset)¶

ShouldNotBe DateTime overloads are similar to the numeric overloads and also support tolerances.

Exception

## TimeSpan¶

TimeSpan also has tolerance overloads

Exception

Want to contribute to Shouldly? #303 makes this error message better!