What is icomparable in c#?



What is icomparable in c#?..

Answer / Shweta

IComparable<T> is an interface in C# that defines a CompareTo method for objects to compare themselves. Implementing this interface allows objects to be sorted using the Sort and BinarySearch methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is c# best for?

1 Answers  


Can we store different data types in arraylist in c#?

1 Answers  


What is using keyword in C#?

1 Answers   UGC Corporation,


What is a boolean c#?

1 Answers  


What is session c#?

1 Answers  


Why is main static in c#?

1 Answers  


What's new in c#?

1 Answers  


What is windows application in c#?

1 Answers  


What is different between Implicit conversion and Explicit conversion in C#?

1 Answers  


Can we overload indexer in c#?

1 Answers  


What is arraylist c#?

1 Answers  


Is datetime immutable c#?

1 Answers  


Categories