Kizspy | Question: 39
(Choose 1 answer)
What is the purpose of using generic methods in C#?
A. To restrict the types that can be used with the method.
B. To allow the method to accept different types dynamically.
C. To improve performance by eliminating boxing and unboxing operations.
D. To make the method more readable and maintainable.