UInt64.IModulusOperators<UInt64,UInt64,UInt64>.Modulus Operator
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.
Divides two values together to compute their modulus or remainder.
static System::UInt64 System.Numerics.IModulusOperators<System.UInt64,System.UInt64,System.UInt64>.operator %(System::UInt64 left, System::UInt64 right) = System::Numerics::IModulusOperators<System::UInt64, System::UInt64, System::UInt64>::op_Modulus;
C#
static ulong IModulusOperators<ulong,ulong,ulong>.operator %(ulong left, ulong right);
static member ( % ) : uint64 * uint64 -> uint64
Shared Operator Mod (left As ULong, right As ULong) As ULong Implements IModulusOperators(Of ULong, ULong, ULong).op_Modulus
- left
- UInt64
The value that right
divides.
- right
- UInt64
The value that divides left
.
The modulus or remainder of left
divided by right
.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: