Class IntExtensions
- Namespace
- Whim
- Assembly
- Whim.dll
Extension methods for int.
public static class IntExtensions
- Inheritance
-
IntExtensions
- Inherited Members
Methods
Mod<T>(T, T)
Modulus operator that returns the remainder of the division of the two operands.
public static T Mod<T>(this T value, T mod) where T : INumber<T>
Parameters
value
Tmod
T
Returns
- T
Type Parameters
T