4 ms·
Even Java, which introduced generic types long after the language itself had become standardized and popular, cannot keep generic type information after compila
by hiram112 8y ago
Even Java, which introduced generic types long after the language itself had become standardized and popular, cannot keep generic type information after compilation due to backwards compatibility.
Don't quote me on it, but I believe C# doesn't have this problem.
- saagarjha 8y agoBut the compiler checks for this by default, so you'll get a warning unless you really break the type system.