In C #, I can create a generic list containing a specific interface, for example:
myList = List<IMyInterface>;
Can I do the same in Delphi XE3, and if so, how?
I know that I can create a TInterfaceList to store a list of interfaces, but it is not very typed, so I still need to use it when using objects in the list.
Is there a strictly typed way to do this?
Steve source share