internal delegate void F<T>(T obj);
class Program
{
static void Foo<T>(T x) where T : class
{
}
publicstatic void Main(string[] args)
{
F<int> f = Foo; // here
}
}
See attachment.
Description
internal delegate void F<T>(T obj);
class Program
{
static void Foo<T>(T x) where T : class
{
}
publicstatic void Main(string[] args)
{
F<int> f = Foo; // here
}
}