Delegates And Events In C Sharp - Study Mode
[#31] Which among the following differentiates a delegate in C#.NET from a conventional function pointer in other languages?
Correct Answer
(D) none of the mentioned
[#32] To generate a simple notification for an object in runtime, the programming construct to be used for implementing this idea?
Correct Answer
(C) delegate
[#33] Which of the following is a valid statement about generic procedures in C#.NET are?
Correct Answer
(B) Generic procedures should take at least one type parameter
[#34] What is meant by the term generics?
Correct Answer
(A) parameterized types
[#35] In the following C# code, which of the following statement is not correct? public class MyContainer<T> where T: class, IComparable
{
/* insert code here */
}
Correct Answer
(D) Compiler will report an error