menu

Document Processing

StringComparer Class - C# Excel Library API Reference | Syncfusion

    Show / Hide Table of Contents

    StringComparer Class

    Comparer for strings.

    Inheritance
    System.Object
    StringComparer
    Implements
    System.Collections.IComparer
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class StringComparer : Object, IComparer

    Constructors

    StringComparer()

    Declaration
    public StringComparer()

    Methods

    Compare(Object, Object)

    Compare two strings.

    Declaration
    public int Compare(object x, object y)
    Parameters
    Type Name Description
    System.Object x

    String to compare.

    System.Object y

    String to compare.

    Returns
    Type Description
    System.Int32

    Returns compared results.

    Implements

    System.Collections.IComparer
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved