Click here to Skip to main content
15,899,475 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: EventArgs question... Pin
Colin Angus Mackay16-Sep-08 5:37
Colin Angus Mackay16-Sep-08 5:37 
AnswerRe: EventArgs question... Pin
srabik16-Sep-08 5:41
srabik16-Sep-08 5:41 
AnswerRe: EventArgs question... Pin
Dave Kreskowiak16-Sep-08 5:49
mveDave Kreskowiak16-Sep-08 5:49 
GeneralRe: EventArgs question... Pin
Ray Cassick16-Sep-08 6:19
Ray Cassick16-Sep-08 6:19 
AnswerRe: EventArgs question... Pin
Giorgi Dalakishvili16-Sep-08 6:21
mentorGiorgi Dalakishvili16-Sep-08 6:21 
GeneralRe: EventArgs question... Pin
Ray Cassick16-Sep-08 8:09
Ray Cassick16-Sep-08 8:09 
GeneralRe: EventArgs question... Pin
Giorgi Dalakishvili16-Sep-08 8:14
mentorGiorgi Dalakishvili16-Sep-08 8:14 
AnswerRe: EventArgs question... Pin
Scott Dorman17-Sep-08 4:46
professionalScott Dorman17-Sep-08 4:46 
This is the right way to pass information to an event handler. There are a lot of benefits to this approach, but the biggest ones are that if you need to add/change the data passed to the event you can do so without changing the event interface (which would break existing code). The only time this doesn't work well is when you change from using System.EventArgs to a custom event args class, but even that is a minor change.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

[Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

GeneralRe: EventArgs question... Pin
Ray Cassick17-Sep-08 4:53
Ray Cassick17-Sep-08 4:53 
GeneralRe: EventArgs question... Pin
Scott Dorman17-Sep-08 5:13
professionalScott Dorman17-Sep-08 5:13 
AnswerRe: EventArgs question... Pin
PIEBALDconsult25-Sep-08 13:40
mvePIEBALDconsult25-Sep-08 13:40 
QuestionKeywords vs Type Names Pin
Tristan Rhodes16-Sep-08 0:29
Tristan Rhodes16-Sep-08 0:29 
AnswerRe: Keywords vs Type Names Pin
Dave Kreskowiak16-Sep-08 1:59
mveDave Kreskowiak16-Sep-08 1:59 
GeneralRe: Keywords vs Type Names Pin
dojohansen16-Sep-08 3:05
dojohansen16-Sep-08 3:05 
GeneralRe: Keywords vs Type Names Pin
Tristan Rhodes16-Sep-08 6:18
Tristan Rhodes16-Sep-08 6:18 
GeneralRe: Keywords vs Type Names Pin
Paul Conrad16-Sep-08 8:35
professionalPaul Conrad16-Sep-08 8:35 
GeneralRe: Keywords vs Type Names Pin
Robert.C.Cartaino16-Sep-08 4:20
Robert.C.Cartaino16-Sep-08 4:20 
GeneralRe: Keywords vs Type Names Pin
Dave Kreskowiak16-Sep-08 5:45
mveDave Kreskowiak16-Sep-08 5:45 
GeneralRe: Keywords vs Type Names Pin
Pete O'Hanlon16-Sep-08 8:20
mvePete O'Hanlon16-Sep-08 8:20 
AnswerRe: Keywords vs Type Names Pin
PIEBALDconsult25-Sep-08 13:31
mvePIEBALDconsult25-Sep-08 13:31 
Question.NET support for SWA (SOAP with Attachments) Pin
QuaKx16-Sep-08 0:13
QuaKx16-Sep-08 0:13 
AnswerRe: .NET support for SWA (SOAP with Attachments) Pin
AlecJames13-Sep-09 21:35
AlecJames13-Sep-09 21:35 
QuestionDoes garbage collection in .Net multithreaded nowadays? Pin
followait15-Sep-08 14:55
followait15-Sep-08 14:55 
AnswerRe: Does garbage collection in .Net multithreaded nowadays? Pin
Scott Dorman15-Sep-08 16:01
professionalScott Dorman15-Sep-08 16:01 
GeneralRe: Does garbage collection in .Net multithreaded nowadays? Pin
followait17-Sep-08 17:46
followait17-Sep-08 17:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.