Programming Languages C# Objective
Mar 07, 2013

Which statements is valid about advantages of generics?

Choose the correct answer:
A) Generics shift the burden of type safety to the programmer rather than compiler.
B) Generics require use of explicit type casting.
C) Generics provide type safety without the overhead of multiple implementations.
D) Generics eliminate the possibility of run-time errors.
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback