Table of Contents

Class SunamoComparerICompare.Integer

Namespace
SunamoCompare
Assembly
SunamoCompare.dll

Comparer for integer values in ascending order (default). Note: Asc is always default. Don't create any new classes anymore. When you want descending order, use reverse!

public class SunamoComparerICompare.Integer : IComparer<int>
Inheritance
SunamoComparerICompare.Integer
Implements
Inherited Members
Extension Methods

Methods

Compare(int, int)

Compares two integer values.

public int Compare(int firstValue, int secondValue)

Parameters

firstValue int

The first integer to compare.

secondValue int

The second integer to compare.

Returns

int

A comparison result for ascending order.