using System.Collections.Generic;
public class Ext<T> : IExt<T>
public class Ext<T, TSecond> : IExt<T>
public static void Main()
IExt<int> test = new Ext<int>();
if (test.GetType().GetGenericTypeDefinition() == typeof(Ext<>))
Console.WriteLine(test.GetType().GetGenericTypeDefinition());
Console.WriteLine("No nie.");
IExt<int> test2 = new Ext<int, string>();
if (test2.GetType().GetGenericTypeDefinition() == typeof(Ext<, >))
Console.WriteLine(test2.GetType().GetGenericTypeDefinition());
Console.WriteLine("No nie.");