.NETGURU
System.IComparable Interface
Information   Base Types   Related Resources

Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method.

  • Namespace: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • View this type on MSDN
  • View this type on WinFX 247
    Articles (35)Discussions (114)MembersRotorChanges
    Articles

    Page: 12
    .NET - More on Generics in the CLR
    MSDN
    More on Generics in the CLR
    A Dictionary Collection Sorting By Value
    The Code Project
    An article on creating a custom collection like the SortedList that sort entries by value instead of by key
    A Generic, Reusable Diff Algorithm in C# - II
    The Code Project
    A reusable difference engine written in C#.
    A Generic, Reusable Diff Algorithm in C# - II
    The Code Project
    A reusable difference engine written in C#
    A Simple Usage of Reflection
    DotNetJunkies
    Xico takes a quick look at what Reflection is all about and explains what it can do for you.
    An Extensive Examination of Data Structures, Part 3: Binary Trees and BSTs
    MSDN
    Scott Mitchell delves into binary trees and BSTs, a common data structure not included in the .NET Framework Class Library.
    An Extensive Examination of Data Structures, Part 4: Building a Better Binary Search Tree
    MSDN
    Scott Mitchell examines the skip list, an ingenious data structure that turns a linked list into a data structure that offers the same running time as the more complex self-balancing tree data structures.
    An Interface-based Approach to .NET
    http://www.csharpnewsletter.com/
    In this article, Brian Boyce explains what interfaces are and how they're used, and provides some methods for working with them. He also demonstrates how interfaces differ from abstract classes.
    C# From a Java Developer's Perspective
    http://www.25hoursaday.com/
    What follows is an overview of similarities and differences between the language features and libraries of the C# and Java programming languages based on my experience using both languages. All code snippets below were tested on Microsoft's .NET Framework Beta 2 for C# snippets and Java™ 2, Standard Edition (J2SE™) version 1.4 Beta 2 for the Java snippets.
    Collection and Object Ordering
    C# Corner
    Net SDK provides a number of collection classes in the System.Collections namespace. We use these collection classes to store objects inside them and perform some operation on them later on as per application logic. Many times we need to re-order objects stored inside these collection. Most collection classes provide a method called Sort() to re-order their elements. The objective of this article is to use Sort() method to order elements stored in a collection class in a generic fashion.
    Creating a Flexible Sorting Procedure Using IComparators and the QuickSort Algorithm
    C#Today
    There are many cases where a sorting functionality is needed for an application. For simple applications, this sorting is done on arrays containing simple value objects such as integers or strings. However, most applications have custom classes and data structures specifically designed and implemented for that application. As such, it is difficult to create a sorting procedure that can be reused in both the simple and the more complex application. The solution that is the use of a standard sorting algorithm along with a comparator class, and John Schenken takes a look at this in his article. The sorting algorithm is written just like normal, except that instead of doing direct comparisons, the comparator object is used to return the result of a comparison.
    Creating a Regular Expression Checker
    devCity.NET
    This article will attempt to explain the steps involved with creating a WinForm application that will validate regular expressions using the System.Text.RegularExpression namespace. The application will accept two inputs. The first input will be a string to search. The second input will be the regular expression that serves as our search criteria.
    Defining and Using Generics in Visual Basic 2005
    MSDN
    Get an overview of generics in Visual Basic 2005, and learn how to define and use them in your own applications.
    Exception Management in .NET
    MSDN
    This document discusses design and implementation guidelines for exception management systems that use .NET technologies. It focuses on the process of handling exceptions within .NET applications in a highly maintainable and supportable manner.
    General Guidelines for C# Class Implementation
    The Code Project
    While implementing my first projects using C# I found out that there where several issues to take into account if I wanted my classes to behave correctly and make good friends with .NET. While this list is in no way complete, it contains the guidelines that I currently follow.
    Generic Sorting
    http://aspalliance.com/
    Write that sort code once and for all. Harness the power of reflection to easily genericise your sort logic to work on any properties with multiple levels and differing orders.
    Genetic Algorithms: Survival of the Fittest: Natural Selection with Windows Forms
    MSDN
    Breed better programs
    How to use the IComparable interface and the IComparer interface in Visual C++ .NET 2003
    Microsoft Support
    (816192) - Discusses how to use the IComparer interface and the IComparable interface. These interfaces are frequently used together, and although the interfaces are similar and have similar names, they serve different purposes.
    How to use the IComparable interface and the IComparer interface in Visual C++ .NET 2003
    http://www.kbalertz.com/
    (816192) - Discusses how to use the IComparer interface and the IComparable interface. These interfaces are frequently used together, and although the interfaces are similar and have similar names, they serve different purposes.
    HOW TO: Implement a DataSet GROUP BY Helper Class in Visual C# .NET
    http://www.kbalertz.com/
    (326145) - This step-by-step article describes how to implement and how to use a DataSetHelper class that includes sample code to create a DataTable object that contains aggregate data from another DataTable object. To do this, use the following public methods:...
    JIT Coding
    C# Corner
    One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit.
    Modularizing Object Collections With The Collections API
    C#Today
    The Collections API in the .NET Framework merits close attention by all .NET developers because of the flexibility it offers for writing applications in .NET. We can use it to manage groups or collections of similar objects, standardizing the way in which groups of objects are handled by our programs. In this article, Thiru Thangarathinam takes us through a tour of all the important collection classes by showing us examples, and then goes on to show us how these collection classes can be very useful in the day-to-day work of a developer.
    Playing with 3-D Coordinate Space in C#, GDI+ and .NET
    C# Corner
    As I was trying to think of an article to write on GDI+, I started looking through some of my old programming books and came across Tricks of the Game Programming Guru. There are good explanations in this book of the Ray Tracing Algorithm, the Painter's Algorithm, Z-Buffering, 3-D Sprite Manipulation, and (relevant to this article) dealing with a 3-D Coordinate System.
    Poker logic in C#
    The Code Project
    Compute poker probabilites with a poker simulation in C#
    Red-Black Trees in C#
    The Code Project
    A C# implementation of a Red-Black Tree
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification