I read somewhere that EventHandler is a built-in generic type. Why is that so? Could somebody explain me ways to distinguish between generic and non-generic types?
Thanks,
Abhi.
================
I am reading Microsoft .NET Framework Application Development Foundation 2nd edition to prepare for MCTS. In the first chapter, there was a question as below:-
Which of the following are examples of built-in generic types? (Choose all that
apply.)
A. Nullable
B. Boolean
C. EventHandler
D. System.Drawing.Point
The answer of the question is A and C as per the book. Option A is alright, but wasn’t sure about option C. Can somebody please explain?
To answer the question you ultimately need to look up each type name in the MSDN index. Nullable appears as
Nullable<T>.EventHandlershows up twice, with and without the<T>suffix. These are in fact separate types.