Possible Duplicate:
C# vs Java generics
What is the differences between implementation of generics in C#/.NET and in Java?
What is the differences between support of generics by theirs runtime/vm?
I don't like to re-hash content already available...so check out Jonathan Pryor's comparison of Java and C# Generics on his blog.
The second half of the post is dedicated to the implementation of each on their respective VMs.
Main difference is that generics are supported at the language and VM level in .NET, whereas in Java, they are only supported at the language level (JVM doesn't know anything about generics).
精彩评论