19 lines
271 B
C#
19 lines
271 B
C#
|
using System;
|
||
|
|
||
|
public class A<T>
|
||
|
{
|
||
|
}
|
||
|
|
||
|
class Program
|
||
|
{
|
||
|
public static void Foo<TEventArgs, TEventHandler> (A<TEventHandler> info, Action<object, TEventArgs> action)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public static void Main ()
|
||
|
{
|
||
|
A<string> pp = null;
|
||
|
Foo (pp, (object s, string e) => { });
|
||
|
}
|
||
|
}
|