Multiple choice technology web technology

Generics feature can be applied to -

  1. Classes

  2. Methods

  3. Interfaces

  4. Events

  5. All of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Generics in .NET can be applied to classes (List), methods (generic functions), interfaces (IComparable), delegates (which relate to events), and structs. Since all the listed types can use generics, 'All of the above' is correct.