[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

String.Comparer equivlent for Int32

Hello is there an Int32 equivlent to String.Compare.

      folders.Sort(delegate(Folder x, Folder y)
      {
        return String.Compare(x.ID.ToString(), y.ID.ToString());
      });
0
wd006451
Asked:
wd006451
1 Solution
 
sabeeshCommented:
you can use == sign for this
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now