C
C# Learner
I can't find any guidelines for delegate declarations.
I'm using the following, and welcome any suggestions.
(MyClass is a class declared by me.)
delegate void MyClass[more-detailed name]EventHandler;
e.g.:
delegate void MyClassDisconnectEventHandler;
delegate void MyClassSomethingElseEventHandler;
Is this the recommended thing? Or is it recommended to simply make one,
called MyClassEventHandler, which can pass any relevant argument through
a MyClassEventArgs parameter?
I'm using the following, and welcome any suggestions.
(MyClass is a class declared by me.)
delegate void MyClass[more-detailed name]EventHandler;
e.g.:
delegate void MyClassDisconnectEventHandler;
delegate void MyClassSomethingElseEventHandler;
Is this the recommended thing? Or is it recommended to simply make one,
called MyClassEventHandler, which can pass any relevant argument through
a MyClassEventArgs parameter?