Q35
In the following C# code, which of the following statement is not correct? public class MyContainer where T: class, IComparable /* insert code here */
A.
Class MyContainer requires that its type argument must implement Icomparable interface
B.
There are multiple constraints on type argument to MyContainer class
C.
Class MyContainer requires that its type argument must be a reference type (class)
D.
Compiler will report an error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board