Wednesday, January 19, 2005

A Few Findings About .NET Delegate/Event

Events are allowed in an interface. Delegates are not allowed in an interface, but delegate properties are allowed in an interface.

Delegates are immutable, and cannot be modified after they are constructed.

There's no straight or easy way to remove all delegates attached to an event.

A separate thread will be created by .NET to handle the FileSystemWatcher events with asynchronous processing.