a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
335 B
C#
29 lines
335 B
C#
using System;
|
|
|
|
interface IMyInterface<T>
|
|
{
|
|
event EventHandler MyEvent;
|
|
}
|
|
|
|
public class MyClass: IMyInterface<string>, IMyInterface<int>
|
|
{
|
|
event EventHandler IMyInterface<string>.MyEvent
|
|
{
|
|
add {}
|
|
remove {}
|
|
}
|
|
|
|
event EventHandler IMyInterface<int>.MyEvent
|
|
{
|
|
add {}
|
|
remove {}
|
|
}
|
|
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|