What interface in C# contains the definition for the CompareTo() method that compares one object to another and returns an integer?

A. IComparable
B. Comparable
C. ICompareTo
D. CompareTo


Answer: A

Computer Science & Information Technology

You might also like to view...

Java supports ________; collections of related methods that typically enable you to tell objects what to do, but not how to do it (we’ll see an exception to this in Java SE 8).

a. classes b. subclasses c. superclasses d. interfaces

Computer Science & Information Technology

The ____ is command central for formatting type in Photoshop.

A. Type panel B. Setting panel C. Character panel D. Character Tools panel

Computer Science & Information Technology

Discuss why you might want to convert a query to a parameter query.

What will be an ideal response?

Computer Science & Information Technology

In the following definition, ____ is the structure type name.struct Date{  int month;  int day;  int year;} birth, current;

A. Date B. month C. birth D. current

Computer Science & Information Technology