Hi.
I have a C# .NET 1.1 application, and may wish to implement plugins.

I understand we create a class library which is an interface, so other developers can inherit this.

an interface is a "must have" set of signatures (term) which are to be included in the developers plugin.

question here:

can an interface have events/delegates?


Moving on, within my application, if for example the question above is true, within my application how would I raise the event? (I know how to raise events I believe but not sure if it would work the same way?)

If we have say 2 plug ins, I want these plugins to have implemented an event from the interface, how would I raise this event within my application so these 2 plugins would be notified of the event?



And finally, how would you instantiate plugins (of a certain interface type) and access them?

Many thanks