1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public class DotNetPad
{
    public void Test<T>() where T : IEnumerable, IComparable
    {
    }

    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}

Line 8 : Using the generic type 'System.Collections.Generic.IEnumerable<T>' requires 1 type arguments