C# - Delegates Question and Answer
C# - Delegates Question and Answer
11. 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?
- Namespace
- Interface
- Encapsulation
- Delegate
12. With which of the following can the ref keyword be used?
Static data
Instance data
Static function/subroutine
Instance function/subroutine
Static data
Instance data
Static function/subroutine
Instance function/subroutine
- 1, 2
- 3, 4
- 1, 3
- 2, 4