I have been programming in Delphi for a while, but I never ran across a syntax that I found in a question here on SO. There was this syntax:
var Dic: TDictionary<Integer,string>;
I’ve never seen the <type, type>. What does it mean? When and where can it be used? I found nothing, since Google omits chars like ‘<‘, ‘>’.
It is the syntax used for generics. Generics allow you to define classes that are parameterized by type.
You can read all about it in the Delphi documentation. You may also find the Wikipedia page useful. It gives a broader overview of the concept of generic programming.