What is icomparer in c#?



What is icomparer in c#?..

Answer / Shekher Mishra

IComparer<T> is an interface in C# that defines a method for comparing two objects of the same type. It is used to implement custom comparison logic for sorting collections.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is an array class?

1 Answers  


Hi, Can we implement the Abstract class on interface in c#, If yes then provide the code implementation

1 Answers   RHR, Wipro,


In C#, explain the difference between overloading and overriding.

1 Answers   Accenture,


What is the difference between do and while loop?

1 Answers  


What are the types of assembly available

1 Answers  


What is the difference between private and protected in c#?

1 Answers  


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

1 Answers  


Why to use “finally” block in c#?

1 Answers  


Can namespace contain the private class?

1 Answers  


Where are all .NET Collection classes located ?

8 Answers   TCS,


Does c# replace c++?

1 Answers  


What is sqlcommand in c#?

1 Answers  


Categories