1 Comment

  • I got bit once doing by an event being raised multiple times when I thought it would only be raised once. Now when I do this kind of testing I keep track of the number of times the event was raised with a counter. Sometimes I keep a list of the EventArgs that were raised. That seems like overkill so I usually just do the count.

Comments have been disabled for this content.