https://learn.microsoft.com/es-es/dotnet/api/system.type.makegenerictype?view=netframework-4.8.1&viewFallbackFrom=net-7.0
Type.MakeGenericType(Type[]) Method (System) | Microsoft Learn
Substitutes the elements of an array of types for the type parameters of the current generic type definition and returns a Type object representing the...
typemethodsystemmicrosoftlearn