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

.NET (Core and Framework)

 
AnswerRe: 'Load balancing' CPU cores in multithreaded applications Pin
Bernhard Hiller18-Apr-11 20:38
Bernhard Hiller18-Apr-11 20:38 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
CDP180218-Apr-11 22:22
CDP180218-Apr-11 22:22 
AnswerRe: 'Load balancing' CPU cores in multithreaded applications Pin
GenJerDan19-Apr-11 4:03
GenJerDan19-Apr-11 4:03 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
CDP180219-Apr-11 4:07
CDP180219-Apr-11 4:07 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
GenJerDan19-Apr-11 4:17
GenJerDan19-Apr-11 4:17 
QuestionHow to get F# IDE? Pin
swampwiz14-Apr-11 6:49
swampwiz14-Apr-11 6:49 
AnswerRe: How to get F# IDE? [modified] Pin
DaveyM6914-Apr-11 9:36
professionalDaveyM6914-Apr-11 9:36 
AnswerRe: How to get F# IDE? Pin
Richard MacCutchan14-Apr-11 22:30
mveRichard MacCutchan14-Apr-11 22:30 
QuestionGenerics instead of parameters? Pin
Sander Rossel13-Apr-11 7:55
professionalSander Rossel13-Apr-11 7:55 
AnswerRe: Generics instead of parameters? Pin
jschell13-Apr-11 8:39
jschell13-Apr-11 8:39 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel13-Apr-11 11:51
professionalSander Rossel13-Apr-11 11:51 
AnswerRe: Generics instead of parameters? Pin
dasblinkenlight13-Apr-11 11:56
dasblinkenlight13-Apr-11 11:56 
Assuming that I followed your naming convention in assuming that both IMyInterfaceClass1 and IMyInterfaceClass2 are expected to implement IMyInterface, you both are partially right. Your solution is superior on insertion, while your coworker's solution is superior on removal.

It is better to accept an instance of IMyInterfaceClass on insertion, because it does not tie your implementation to classes with default constructors. It is better to use a generic on removal because doing so lets you have the compiler enforce the requirement that IMyInterfaceClass1 and IMyInterfaceClass2 are implementations of IMyInterface, rather than relying on a run-time check.
GeneralRe: Generics instead of parameters? Pin
Sander Rossel13-Apr-11 19:50
professionalSander Rossel13-Apr-11 19:50 
GeneralRe: Generics instead of parameters? Pin
dasblinkenlight14-Apr-11 5:40
dasblinkenlight14-Apr-11 5:40 
GeneralRe: Generics instead of parameters? Pin
jschell14-Apr-11 9:09
jschell14-Apr-11 9:09 
AnswerRe: Generics instead of parameters? Pin
MicroVirus14-Apr-11 1:42
MicroVirus14-Apr-11 1:42 
AnswerRe: Generics instead of parameters? Pin
Prasanta_Prince16-Apr-11 4:37
Prasanta_Prince16-Apr-11 4:37 
AnswerRe: Generics instead of parameters? Pin
ToddHileHoffer20-Apr-11 10:47
ToddHileHoffer20-Apr-11 10:47 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel20-Apr-11 10:51
professionalSander Rossel20-Apr-11 10:51 
AnswerRe: Generics instead of parameters? Pin
David Farrow29-Apr-11 5:26
David Farrow29-Apr-11 5:26 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel29-Apr-11 7:45
professionalSander Rossel29-Apr-11 7:45 
GeneralRe: Generics instead of parameters? Pin
David Farrow29-Apr-11 8:20
David Farrow29-Apr-11 8:20 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel29-Apr-11 9:05
professionalSander Rossel29-Apr-11 9:05 
QuestionData security: Encryption? Hashing? Which method? Pin
Gregory Gadow13-Apr-11 4:14
Gregory Gadow13-Apr-11 4:14 
AnswerRe: Data security: Encryption? Hashing? Which method? Pin
Not Active13-Apr-11 5:00
mentorNot Active13-Apr-11 5:00 

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.