TriLib
Search Results for

    Show / Hide Table of Contents

    Class SortUtils

    Represents a series of Sorting utility methods.

    Inheritance
    object
    SortUtils
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.Utils
    Assembly: TriLibCore.dll
    Syntax
    public static class SortUtils

    Methods

    BubbleSort<T>(IList<T>, Comparison<T>)

    Sorts the given List using the given Comparison.

    Declaration
    public static void BubbleSort<T>(IList<T> list, Comparison<T> comparison)
    Parameters
    Type Name Description
    IList<T> list

    The List to sort.

    Comparison<T> comparison

    The Comparison to use.

    Type Parameters
    Name Description
    T

    The List element type.

    In this article
    Back to top Generated by DocFX