IModulusOperators<TSelf,TOther,TResult> 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 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)
Type Parameters
- TSelf
The type that implements this interface.
- TOther
The type that will divide TSelf
.
- TResult
The type that contains the modulus or remainder of TSelf
and TOther
.
- Derived
Remarks
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.
Operators
Modulus(TSelf, TOther) |
Divides two values together to compute their modulus or remainder. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback을 참조하세요.
출시 예정: 2024년 내내 콘텐츠 피드백 메커니즘인 GitHub 문제를 단계적으로 폐지하고 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은다음에 대한 사용자 의견 제출 및 보기