Table of Contents

Class SByteOperator

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

Implements arithmetic operations for signed byte values.

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

Constructors

SByteOperator()

public SByteOperator()

Methods

Add(sbyte, sbyte)

Adds two sbyte values.

public override sbyte Add(sbyte first, sbyte second)

Parameters

first sbyte
second sbyte

Returns

sbyte

Compare(sbyte, sbyte)

Compares two sbyte values.

public override int Compare(sbyte first, sbyte second)

Parameters

first sbyte
second sbyte

Returns

int

Divide(sbyte, sbyte)

Divides the first sbyte value by the second.

public override sbyte Divide(sbyte first, sbyte second)

Parameters

first sbyte
second sbyte

Returns

sbyte

Multiply(sbyte, sbyte)

Multiplies two sbyte values.

public override sbyte Multiply(sbyte first, sbyte second)

Parameters

first sbyte
second sbyte

Returns

sbyte

Subtract(sbyte, sbyte)

Subtracts the second sbyte value from the first.

public override sbyte Subtract(sbyte first, sbyte second)

Parameters

first sbyte
second sbyte

Returns

sbyte