Version

CreateComparer Method

Creates an IComparer that wraps the specified comparison.
Overload List
OverloadDescription
CreateComparer<T>(Comparison<T>)Creates an IComparer that wraps the specified comparison.  
CreateComparer<T>(IComparer)If the specified comparer is IComparer<T> then returns it otherwise creates an IComparer<T> that wraps the specified IComparer.  
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also