I try to use generics:

var List: TList<Integer>; 

but RAD Studio emphasizes the unknown data type TList me, although in the code var List: TList; - there are no problems. What could be the problem? Unit Classes are naturally connected.

    1 answer 1

    The answer is found: you need to connect also the System.Generics.Collections unit