But C# generics aren't erasure model collections are they?
Re:How generics were added to .NET
by SideburnsOfDoom on Tuesday March 06, 2018 @07:44AM
(#16528442)
No, they are not. The point is, it is different at the bytecode level.
I don't think this is correct. In C# code at runtime, and in the bytecode, you can inspect types for metadata about their generic type params. It is present in the .Net bytecode.
See https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...
> When a generic type or method is compiled into (bytecode), it contains metadata that identifies it as having type parameters.
from https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...