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 computing the modulus or remainder of two values.
generic <typename TSelf, typename TOther, typename TResult> where TSelf : IModulusOperators<TSelf, TOther, TResult>public interface class IModulusOperators
public interface IModulusOperators<TSelf,TOther,TResult> where TSelf : IModulusOperators<TSelf,TOther,TResult>
type IModulusOperators<'Self, 'Other, 'Result (requires 'Self :> IModulusOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IModulusOperators(Of TSelf, TOther, TResult)
The type that implements this interface.
The type that will divide
The type that contains the modulus or remainder of
This type represents the
% operator in C#, which is often used to compute the remainder. It may differ from an actual modulo operation depending on the type that implements the interface.
Divides two values together to compute their modulus or remainder.