class TLink TParent TChild TParent parent List TChild children

1
2
3
4
class TLink<TParent, TChild>{
TParent parent;
List<TChild> children;
}