C# event or delegate or other solution?

Posted by user295734 on Stack Overflow See other posts from Stack Overflow or by user295734
Published on 2010-04-02T13:26:41Z Indexed on 2010/04/02 13:33 UTC
Read the original article Hit count: 264

Filed under:
|
|
|

Looking for some help or programmng ideas or mayeb there is some pattern that would help. Have an application that needs to fire alot of events sequentially, it could up to 100 or more unique events, it will be dynamic depeneding on the situation.

Trying to find the best practice for doing this. My main idea right now is to create a list of objects iterate thru them, and fire each event. This seems wrong, or bad practice. Or maybe have one object and pass a list or params into one event? Or am I missing some feature in .NET that i could be using or implementing?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about delegate