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