Top  Previous  Next

New features since Delphi 7 > Generics


The following discussion of the translation of Delphi generics to C# templates goes along the Embarcadero documentation




Nested types

Base types

Procedural types

Parameterized methods




Delphi2C# cannot distinguish a generic type and a normal type with the same name in the same unit. There are such cases in System-pas. E.g.


IEnumerator = interface(IInterface)

IEnumerator<T> = interface(IEnumerator)




This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content