Programming Languages C# Objective
Mar 06, 2013

Suppose a Generic class called SortObjects is to be made capable of sorting objects of any type (Integer, Single, Byte etc.). Which of the following programming constructs should be used to implement the comparision function?

 

Choose the correct answer:
A) Namespace
B) Interface
C) Delegate
D) Encapsulation
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback