Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
IComparer « Collections Data Structure « C# / C Sharp
C# / C Sharp
Collections Data Structure
IComparer
1.
IComparer Interface Exposes a method that compares two objects.
2.
Comparer Class Compares two objects for equivalence, where string comparisons are case-sensitive.
3.
EqualityComparer(T) Class provides a base class for implementations of the IEqualityComparer
generic interface.
4.
Compares the two values passed in and checks if they're value-wise the same.