What is the syntax to declare an event in C#?

Posted by Tilendor on Stack Overflow See other posts from Stack Overflow or by Tilendor
Published on 2010-03-17T18:21:00Z Indexed on 2010/03/17 18:21 UTC
Read the original article Hit count: 128

Filed under:
|

In my class I want to declare an event that other classes can subscribe to. What is the correct way to declare the event?

This doesn't work:

public event CollectMapsReportingComplete;

© Stack Overflow or respective owner

Related posts about c#

Related posts about events