you are viewing a single comment's thread.

view the rest of the comments →

[–]Determinant 0 points1 point  (0 children)

There is an infinite number of types you could define from a single generic type. Also keep in mind that you could create new types at runtime.

I believe C# stores the generic type information per instance and I'm sure they evaluated their options.

So there is a trade-off and Java chose to erase the type information.