Gets a value indicating whether the specified type is a generic type.
public static bool IsGenericType(this Type type)
true if the specified type is a generic type; otherwise, false.