18 lines
272 B
C#
18 lines
272 B
C#
|
public delegate void DelegateHandler();
|
||
|
|
||
|
public interface EventInterface
|
||
|
{
|
||
|
event DelegateHandler OnEvent;
|
||
|
}
|
||
|
|
||
|
public class BaseClass
|
||
|
{
|
||
|
public event DelegateHandler OnEvent;
|
||
|
}
|
||
|
|
||
|
public class ExtendingClass : BaseClass, EventInterface
|
||
|
{
|
||
|
public static void Main()
|
||
|
{
|
||
|
}
|
||
|
}
|