asp.net.ph

IComparable Interface

System Namespace


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

IComparable Interface Members

Collapse   Methods

Visibility Name Parameters Return Type
public CompareTo ( Object obj ) Int32

Classes that Implement IComparable


Class Description
Enum Provides the base class for enumerations.
String Represents an immutable series of characters.
Version Represents the version number for a common language runtime assembly. This class cannot be inherited.

Remarks

This interface is implemented by types whose values can be ordered; for example, the numeric and string classes.

A value type or class implements the CompareTo method to create a type-specific comparison method suitable for purposes such as sorting.

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph