Question: C# Question Please highlight the 1 correct option from 4 given at bottom Where would you use the following generic method? void DeleteDuplicate() where T
C# Question
Please highlight the 1 correct option from 4 given at bottom
Where would you use the following generic method?
void DeleteDuplicate() where T : System.IEquatable {}
-
when all type parameters need to implement the IEquatable protocol to be valid
-
when parameters need to have the option of implementing the IEquatable protocol
-
when any type parameters will be accepted
-
when any parameters need to be a subclass of IEquatable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
