Overload | Description |
---|---|
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. |
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+