Click here to Skip to main content
15,904,346 members
Home / Discussions / C#
   

C#

 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097919-Sep-19 5:16
User 1106097919-Sep-19 5:16 
GeneralRe: Divergences with co workers about IDisposable Pin
Richard Deeming19-Sep-19 5:28
mveRichard Deeming19-Sep-19 5:28 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097919-Sep-19 5:36
User 1106097919-Sep-19 5:36 
GeneralRe: Divergences with co workers about IDisposable Pin
Gerry Schmitz19-Sep-19 9:58
mveGerry Schmitz19-Sep-19 9:58 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097919-Sep-19 10:03
User 1106097919-Sep-19 10:03 
GeneralRe: Divergences with co workers about IDisposable Pin
Gerry Schmitz19-Sep-19 12:36
mveGerry Schmitz19-Sep-19 12:36 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097920-Sep-19 8:11
User 1106097920-Sep-19 8:11 
SuggestionRe: Divergences with co workers about IDisposable Pin
Maciej Los19-Sep-19 20:51
mveMaciej Los19-Sep-19 20:51 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097920-Sep-19 5:37
User 1106097920-Sep-19 5:37 
AnswerRe: Divergences with co workers about IDisposable Pin
#realJSOP22-Sep-19 3:28
professional#realJSOP22-Sep-19 3:28 
QuestionHow to connect to a remote windows service Pin
Mahmoud EL-Shazly18-Sep-19 20:51
Mahmoud EL-Shazly18-Sep-19 20:51 
AnswerRe: How to connect to a remote windows service Pin
F-ES Sitecore19-Sep-19 0:20
professionalF-ES Sitecore19-Sep-19 0:20 
AnswerRe: How to connect to a remote windows service Pin
Afzaal Ahmad Zeeshan19-Sep-19 2:08
professionalAfzaal Ahmad Zeeshan19-Sep-19 2:08 
GeneralRe: How to connect to a remote windows service Pin
Mahmoud EL-Shazly19-Sep-19 5:22
Mahmoud EL-Shazly19-Sep-19 5:22 
GeneralRe: How to connect to a remote windows service Pin
Afzaal Ahmad Zeeshan19-Sep-19 6:34
professionalAfzaal Ahmad Zeeshan19-Sep-19 6:34 
QuestionC# Insert TextBox Text into MS Database Pin
DreyerVorster18-Sep-19 10:20
DreyerVorster18-Sep-19 10:20 
AnswerRe: C# Insert TextBox Text into MS Database Pin
Mycroft Holmes18-Sep-19 12:37
professionalMycroft Holmes18-Sep-19 12:37 
GeneralRe: C# Insert TextBox Text into MS Database Pin
DreyerVorster18-Sep-19 19:27
DreyerVorster18-Sep-19 19:27 
AnswerRe: C# Insert TextBox Text into MS Database Pin
jkirkerx18-Sep-19 12:51
professionaljkirkerx18-Sep-19 12:51 
AnswerRe: C# Insert TextBox Text into MS Database Pin
Gerry Schmitz19-Sep-19 0:38
mveGerry Schmitz19-Sep-19 0:38 
QuestionHighest Number of a folder Pin
Member 1398003216-Sep-19 20:07
Member 1398003216-Sep-19 20:07 
AnswerRe: Highest Number of a folder Pin
OriginalGriff16-Sep-19 20:37
mveOriginalGriff16-Sep-19 20:37 
At a guess, because your collection contains folders called "V.2.4.0.12" and "V.3.4.0.9" - and file name comparisons are string comparisons, so they work on a character by character basis: the first different character pair determines the result of the whole comparison.

Me? I'd use the debugger to look at exactly what allFiles contains before I went any further - if it shouldn't contain "V.3.4.0.9" and it does, then you need to look elsewhere. If it should contain "V.3.4.0.9" but this shouldn't be the maximum, then you need to think long and hard about why "V.2.4.0.12" should be selected in preference, and probably write your own more complex comparator method.
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: Highest Number of a folder Pin
Member 1398003216-Sep-19 21:46
Member 1398003216-Sep-19 21:46 
GeneralRe: Highest Number of a folder Pin
OriginalGriff16-Sep-19 21:59
mveOriginalGriff16-Sep-19 21:59 
GeneralRe: Highest Number of a folder Pin
Member 1398003216-Sep-19 22:05
Member 1398003216-Sep-19 22:05 

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.