Click here to Skip to main content
15,906,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,

Can some one please explain to me, what is the meaning of += and -= in relation to the event in C#? or the internal of += or -=.

Thank you

Jai.
Posted

 
Share this answer
 
Comments
Espen Harlinn 5-May-12 5:54am    
5'ed!
Mehdi Gholam 5-May-12 6:34am    
Thanks Espen!
JaPed 5-May-12 8:02am    
Thanks.
BillW33 5-May-12 10:48am    
@Jai Peddy: you should mark the best answer as the solution so that the question will disappear from the "unanswered questions" list and the solution author gets credit. :)
JaPed 5-May-12 20:45pm    
CIDev, Thanks for letting me know, I will do for next time. In this case I like both answers. Thanks.
In Addition to the Solution 1, you might have a look How does it work in C#? - Part 1[^]

Hope it helps :)
 
Share this answer
 
Comments
JaPed 5-May-12 8:02am    
Thanks.
JaPed 5-May-12 8:16am    
Great explanation. Thank you very much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900