Click here to Skip to main content
15,896,348 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which solution is of more performance ? Instantiating new object within a for loop Pin
PIEBALDconsult11-Dec-08 16:34
mvePIEBALDconsult11-Dec-08 16:34 
QuestionHow to get network connection name Pin
s196675m11-Dec-08 12:27
s196675m11-Dec-08 12:27 
AnswerRe: How to get network connection name Pin
Patrick_N3WB1E11-Dec-08 13:13
Patrick_N3WB1E11-Dec-08 13:13 
GeneralRe: How to get network connection name Pin
Dave Kreskowiak11-Dec-08 15:43
mveDave Kreskowiak11-Dec-08 15:43 
AnswerRe: How to get network connection name Pin
Dave Kreskowiak11-Dec-08 15:42
mveDave Kreskowiak11-Dec-08 15:42 
GeneralRe: How to get network connection name Pin
s196675m12-Dec-08 2:33
s196675m12-Dec-08 2:33 
GeneralRe: How to get network connection name Pin
s196675m12-Dec-08 2:47
s196675m12-Dec-08 2:47 
QuestionCustom Events Pin
#realJSOP11-Dec-08 10:37
professional#realJSOP11-Dec-08 10:37 
AnswerRe: Custom Events Pin
Mark Salsbery11-Dec-08 10:52
Mark Salsbery11-Dec-08 10:52 
GeneralRe: Custom Events Pin
#realJSOP11-Dec-08 12:15
professional#realJSOP11-Dec-08 12:15 
GeneralRe: Custom Events Pin
Mark Salsbery11-Dec-08 12:24
Mark Salsbery11-Dec-08 12:24 
AnswerRe: Custom Events Pin
PIEBALDconsult11-Dec-08 12:15
mvePIEBALDconsult11-Dec-08 12:15 
GeneralRe: Custom Events Pin
#realJSOP11-Dec-08 12:17
professional#realJSOP11-Dec-08 12:17 
GeneralRe: Custom Events Pin
PIEBALDconsult11-Dec-08 13:55
mvePIEBALDconsult11-Dec-08 13:55 
AnswerRe: Custom Events Pin
Christian Graus11-Dec-08 12:44
protectorChristian Graus11-Dec-08 12:44 
AnswerRe: Custom Events Pin
User 433002811-Dec-08 15:02
User 433002811-Dec-08 15:02 
AnswerRe: Custom Events Pin
DaveyM6912-Dec-08 2:25
professionalDaveyM6912-Dec-08 2:25 
GeneralRe: Custom Events Pin
PIEBALDconsult12-Dec-08 3:06
mvePIEBALDconsult12-Dec-08 3:06 
GeneralRe: Custom Events Pin
DaveyM6912-Dec-08 3:11
professionalDaveyM6912-Dec-08 3:11 
GeneralRe: Custom Events Pin
PIEBALDconsult12-Dec-08 12:50
mvePIEBALDconsult12-Dec-08 12:50 
GeneralRe: Custom Events Pin
DaveyM6913-Dec-08 0:02
professionalDaveyM6913-Dec-08 0:02 
Cool - but doing it that way doesn't leave you any scope for expansion later on.

Some point down the road you may need to pass more than one piece of data. If that happens, you'll need to rewrite the delegate to take the new class/struct or additional parameters and every method signature invoked by it - that could be a whole lot of work! Using a custom event args avoids this so your apps won't break if requirements change.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

GeneralRe: Custom Events Pin
PIEBALDconsult13-Dec-08 4:04
mvePIEBALDconsult13-Dec-08 4:04 
GeneralRe: Custom Events Pin
DaveyM6913-Dec-08 4:12
professionalDaveyM6913-Dec-08 4:12 
QuestionProg to control other forms Pin
raylion11-Dec-08 9:53
raylion11-Dec-08 9:53 
AnswerRe: Prog to control other forms Pin
Christian Graus11-Dec-08 10:02
protectorChristian Graus11-Dec-08 10:02 

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.