Click here to Skip to main content
14,361,196 members
   

C#

 
GeneralRe: Round Corner in C# windows foam application Pin
BillWoodruff30-Apr-19 19:42
mveBillWoodruff30-Apr-19 19:42 
GeneralRe: Round Corner in C# windows foam application Pin
Eddy Vluggen1-May-19 2:03
mveEddy Vluggen1-May-19 2:03 
AnswerRe: Round Corner in C# windows foam application Pin
Gerry Schmitz30-Apr-19 2:56
mveGerry Schmitz30-Apr-19 2:56 
AnswerRe: Round Corner in C# windows foam application Pin
BillWoodruff30-Apr-19 19:40
mveBillWoodruff30-Apr-19 19:40 
QuestionHow to get the MaxValue using LINQ ?! Pin
Abdalla Ben Omran29-Apr-19 3:24
memberAbdalla Ben Omran29-Apr-19 3:24 
AnswerRe: How to get the MaxValue using LINQ ?! Pin
OriginalGriff29-Apr-19 4:00
protectorOriginalGriff29-Apr-19 4:00 
GeneralRe: How to get the MaxValue using LINQ ?! Pin
Abdalla Ben Omran29-Apr-19 4:17
memberAbdalla Ben Omran29-Apr-19 4:17 
GeneralRe: How to get the MaxValue using LINQ ?! Pin
OriginalGriff29-Apr-19 4:55
protectorOriginalGriff29-Apr-19 4:55 
Why not just use Max with SecondsDiff?
Sorting the whole thing just to get the first item is a very inefficient way to get the max value ... and if this is sourced from a DB, you have no idea how many items you may be dealing with in a years time. Sort - even Quick Sort - is a complex operation, "what's the biggest?" is a single pass through the data.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: How to get the MaxValue using LINQ ?! Pin
Richard Deeming1-May-19 9:22
mveRichard Deeming1-May-19 9:22 
AnswerRe: How to get the MaxValue using LINQ ?! Pin
Dave Kreskowiak29-Apr-19 4:10
mveDave Kreskowiak29-Apr-19 4:10 
AnswerRe: How to get the MaxValue using LINQ ?! Pin
Maciej Los29-Apr-19 10:04
protectorMaciej Los29-Apr-19 10:04 
GeneralRe: How to get the MaxValue using LINQ ?! Pin
OriginalGriff29-Apr-19 21:14
protectorOriginalGriff29-Apr-19 21:14 
PraiseRe: How to get the MaxValue using LINQ ?! Pin
Maciej Los29-Apr-19 21:29
protectorMaciej Los29-Apr-19 21:29 
GeneralRe: How to get the MaxValue using LINQ ?! Pin
OriginalGriff29-Apr-19 21:42
protectorOriginalGriff29-Apr-19 21:42 
GeneralRe: How to get the MaxValue using LINQ ?! Pin
Luc Pattyn30-Apr-19 1:37
professionalLuc Pattyn30-Apr-19 1:37 
GeneralRe: How to get the MaxValue using LINQ ?! Pin
Richard Deeming1-May-19 9:20
mveRichard Deeming1-May-19 9:20 
QuestionRe: How to get the MaxValue using LINQ ?! Pin
Maciej Los2-May-19 9:24
protectorMaciej Los2-May-19 9:24 
AnswerRe: How to get the MaxValue using LINQ ?! Pin
Richard Deeming3-May-19 1:43
mveRichard Deeming3-May-19 1:43 
PraiseRe: How to get the MaxValue using LINQ ?! Pin
Maciej Los3-May-19 2:25
protectorMaciej Los3-May-19 2:25 
AnswerRe: How to get the MaxValue using LINQ ?! Pin
Maciej Los3-May-19 2:34
protectorMaciej Los3-May-19 2:34 
GeneralRe: How to get the MaxValue using LINQ ?! Pin
Abdalla Ben Omran3-May-19 3:30
memberAbdalla Ben Omran3-May-19 3:30 
Questiondata structure Pin
Member 1434080028-Apr-19 4:35
memberMember 1434080028-Apr-19 4:35 
AnswerRe: data structure Pin
OriginalGriff28-Apr-19 5:27
protectorOriginalGriff28-Apr-19 5:27 
AnswerRe: data structure Pin
Luc Pattyn28-Apr-19 10:59
professionalLuc Pattyn28-Apr-19 10:59 
QuestionHow to find the Max or the Highest value in (List) using just C# code and No LINQ Pin
Abdalla Ben Omran26-Apr-19 6:38
memberAbdalla Ben Omran26-Apr-19 6:38 

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.