Search Results for

    Show / Hide Table of Contents

    Interface IComparer

    Exposes a method that compares two objects.

    Namespace: System.Collections
    Assembly: mscorlib.dll
    Syntax
    public interface IComparer

    Methods

    Compare(object, object)

    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

    Declaration
    int Compare(object x, object y)
    Parameters
    Type Name Description
    object x

    The first object to compare.

    object y

    The second object to compare.

    Returns
    Type Description
    int

    A signed integer that indicates the relative values of x and y, as shown in the following table.

    Less than zero : x is less than y.

    Zero : x equals y.

    Greater than zero : x is greater than y.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX