a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
26 lines
361 B
C#
26 lines
361 B
C#
using System;
|
|
|
|
namespace Test
|
|
{
|
|
public static class Program
|
|
{
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|
|
|
|
public abstract class Class1<T1>
|
|
{
|
|
protected event EventHandler doSomething;
|
|
}
|
|
|
|
public class Class2<T> : Class1<T>
|
|
{
|
|
public event EventHandler DoSomething
|
|
{
|
|
add { this.doSomething += value; }
|
|
remove { this.doSomething -= value; }
|
|
}
|
|
}
|
|
}
|