In C#, is there any difference in how to raise a event? (Use SomeEvent(arg) or SomeEvent.Invoke(arg

Posted by LLS on Stack Overflow See other posts from Stack Overflow or by LLS
Published on 2010-06-18T14:40:30Z Indexed on 2010/06/18 14:43 UTC
Read the original article Hit count: 173

Filed under:
|

The question is just the simple one:

Is there any difference in using

SomeEvent(arg);

and

SomeEvent.Invoke(arg);

If there is no significant difference, which one is the better practice?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about events