I have the following generic method:
public static T? Foo (string param1, T? param2) where T : class, IEnumerable { // ... }