you cant define delegates in interface as delegate is it self a type which is
not permitted in interface.You must declare the delegate out side interface.
This is in context of C# here u must provided delegate with the event
declaration.
public delegate void Y();
interface i{
event Y ev;
}
Vb.net allows you to define event in interface as the event declaration in
vb.net doesnot requires delegate.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.