Edit

Share via


IMinMaxValue<TSelf> Interface

Definition

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