Microsoft
98-372 · Question #207
You want to create a method that can accept any data type as arguments. Which feature of .NET languages allows you to create one method that will accept different data types on each call to the…
The correct answer is C. Generics. See the full explanation below for the reasoning.
Question
You want to create a method that can accept any data type as arguments. Which feature of .NET languages allows you to create one method that will accept different data types on each call to the method?
Options
- AOverriding
- BDelegates
- CGenerics
- DNamed Parameters
How the community answered
(26 responses)- A4% (1)
- B19% (5)
- C69% (18)
- D8% (2)
Community Discussion
No community discussion yet for this question.