Click here to Skip to main content
15,910,980 members
Home / Discussions / C#
   

C#

 
AnswerRe: Inheritance Pin
JammoD8719-Jun-15 21:26
JammoD8719-Jun-15 21:26 
QuestionC# need 2 threads for long execution Pin
dracebus19-Jun-15 8:48
dracebus19-Jun-15 8:48 
AnswerRe: C# need 2 threads for long execution Pin
PIEBALDconsult19-Jun-15 8:59
mvePIEBALDconsult19-Jun-15 8:59 
GeneralRe: C# need 2 threads for long execution Pin
dracebus19-Jun-15 9:02
dracebus19-Jun-15 9:02 
GeneralRe: C# need 2 threads for long execution Pin
PIEBALDconsult19-Jun-15 9:12
mvePIEBALDconsult19-Jun-15 9:12 
GeneralRe: C# need 2 threads for long execution Pin
Dave Kreskowiak19-Jun-15 9:21
mveDave Kreskowiak19-Jun-15 9:21 
GeneralRe: C# need 2 threads for long execution Pin
Philippe Mori19-Jun-15 16:20
Philippe Mori19-Jun-15 16:20 
QuestionTrying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 16:17
Norris Chappell18-Jun-15 16:17 
AnswerRe: Trying to sum several fields into a total field Pin
OriginalGriff18-Jun-15 19:15
mveOriginalGriff18-Jun-15 19:15 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 20:26
Norris Chappell18-Jun-15 20:26 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 20:31
Norris Chappell18-Jun-15 20:31 
GeneralRe: Trying to sum several fields into a total field Pin
Pete O'Hanlon18-Jun-15 22:39
mvePete O'Hanlon18-Jun-15 22:39 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 4:44
Norris Chappell19-Jun-15 4:44 
GeneralRe: Trying to sum several fields into a total field Pin
Richard MacCutchan19-Jun-15 7:02
mveRichard MacCutchan19-Jun-15 7:02 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 7:23
Norris Chappell19-Jun-15 7:23 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 5:35
Norris Chappell19-Jun-15 5:35 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 9:30
Norris Chappell19-Jun-15 9:30 
AnswerRe: Trying to sum several fields into a total field Pin
Agent__00718-Jun-15 20:30
professionalAgent__00718-Jun-15 20:30 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 20:36
Norris Chappell18-Jun-15 20:36 
GeneralRe: Trying to sum several fields into a total field Pin
Richard MacCutchan18-Jun-15 22:05
mveRichard MacCutchan18-Jun-15 22:05 
GeneralRe: Trying to sum several fields into a total field Pin
Agent__00718-Jun-15 23:23
professionalAgent__00718-Jun-15 23:23 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 3:25
Norris Chappell19-Jun-15 3:25 
QuestionFind 2 Dates A DateTime Falls between From Dictionary Pin
Kevin Marois18-Jun-15 6:38
professionalKevin Marois18-Jun-15 6:38 
AnswerRe: Find 2 Dates A DateTime Falls between From Dictionary Pin
Sascha Lefèvre18-Jun-15 6:56
professionalSascha Lefèvre18-Jun-15 6:56 
Coder (Hired) wrote:
I was going to loop through the dictionary, but is that really the best way?
The best way depends on your requirements. If there can be a lot of DateTimes and lookup is more frequent than insertion/deletion then a SortedList<TKey, TValue>[^] might provide better performance. Though if you also need lookup by an exact DateTime then you would have to create a custom collection class where you combine a Dictionary with a SortedList to get the best of both (or maybe you can find an existing implementation of that).
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

SuggestionRe: Find 2 Dates A DateTime Falls between From Dictionary Pin
Sascha Lefèvre19-Jun-15 4:30
professionalSascha Lefèvre19-Jun-15 4:30 

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.