https://learn.microsoft.com/zh-tw/dotnet/api/system.type.isgenerictype?view=netframework-4.8.1&viewFallbackFrom=net-5.0
Type.IsGenericType Property (System) | Microsoft Learn
Gets a value indicating whether the current type is a generic type.
property systemtypemicrosoftlearn