Are generics in C# are same as the generics in java and templates in C++?

a) Yes
b) No
c) May be
d) None of the mentioned

1 thought on “ Are generics in C# are same as the generics in java and templates in C++?”

  1. b
    Explanation: Although C# generics are similar to templates in C++ and generics in Java, they are not the same as either. In fact, there are some fundamental differences among these three approaches to generics.

Leave a Comment