Table of Contents

Class ULongOperator

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

Implements arithmetic operations for unsigned long integers.

[CLSCompliant(false)]
public class ULongOperator : BaseOperator<ulong>, IOperator<ulong>, IComparer<ulong>, IOperator, IComparer
Inheritance
ULongOperator
Implements
Inherited Members
Extension Methods

Constructors

ULongOperator()

public ULongOperator()

Methods

Add(ulong, ulong)

Adds two unsigned long integers.

public override ulong Add(ulong first, ulong second)

Parameters

first ulong
second ulong

Returns

ulong

Compare(ulong, ulong)

Compares two unsigned long integers.

public override int Compare(ulong first, ulong second)

Parameters

first ulong
second ulong

Returns

int

Divide(ulong, ulong)

Divides the first unsigned long integer by the second.

public override ulong Divide(ulong first, ulong second)

Parameters

first ulong
second ulong

Returns

ulong

Multiply(ulong, ulong)

Multiplies two unsigned long integers.

public override ulong Multiply(ulong first, ulong second)

Parameters

first ulong
second ulong

Returns

ulong

Subtract(ulong, ulong)

Subtracts the second unsigned long integer from the first.

public override ulong Subtract(ulong first, ulong second)

Parameters

first ulong
second ulong

Returns

ulong