Edit

Share via


IMinMaxValue<TSelf> Interface

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines a mechanism for getting the minimum and maximum value of a type.

C#
public interface IMinMaxValue<TSelf> where TSelf : IMinMaxValue<TSelf>

Type Parameters

TSelf

The type that implements this interface.

Derived

Properties

MaxValue

Gets the maximum value of the current type.

MinValue

Gets the minimum value of the current type.

Applies to

Product Versions
.NET 7, 8, 9, 10