Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 125915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:14:05+00:00 2026-05-11T05:14:05+00:00

The .NET framework provides a few handy general-use delegates for common tasks, such as

  • 0

The .NET framework provides a few handy general-use delegates for common tasks, such as Predicate<T> and EventHandler<T>.

Is there a built-in delegate for the equivalent of CompareTo()?

The signature might be something like this:

delegate int Comparison<T>(T x, T y); 

This is to implement sorting in such a way that I can provide a lambda expression for the actual sort routine (ListView.ListViewItemSorter, specifically), so any other approaches welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:14:06+00:00Added an answer on May 11, 2026 at 5:14 am

    You even got the names right 🙂

    See System.Comparison<T>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The .net framework provides in the Math class a method for powering double. But
So the .NET framework provides the SecureString class for storing strings in a secure
I would like to use the ASP.NET Membership Provider security framework but would like
Is there any framework/library for using ASP.NET Membership Provider with confirmation email, something ready
The Microsoft.NET framework provides the IDisposable interface which requires an implementation of void Dispose()
While the .NET 4 framework provides the Assembly.IsDynamic method, that's not the case with
The .net framework 3.5 (or vista) provides me with an English voice (David I
General Info: ASP.NET MVC app using ADO.NET Entity Framework SQL Server 2005 I have
Few years ago I've developed a windows service app (VB.NET framework 1.1) which was
What does the .NET framework provide, if anything, in the way of classes for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.