Click here to Skip to main content
15,889,684 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to separate date and time from a string Pin
Ganesh Kumar Kaki13-Apr-11 2:20
Ganesh Kumar Kaki13-Apr-11 2:20 
QuestionSystem.Math.Max(System.Threading.Interlocked.Increment(ref i), i - 1); functionality Pin
Pierre besquent29-Mar-11 1:19
Pierre besquent29-Mar-11 1:19 
AnswerRe: System.Math.Max(System.Threading.Interlocked.Increment(ref i), i - 1); functionality Pin
Pete O'Hanlon29-Mar-11 1:24
mvePete O'Hanlon29-Mar-11 1:24 
GeneralRe: System.Math.Max(System.Threading.Interlocked.Increment(ref i), i - 1); functionality Pin
Pierre besquent29-Mar-11 1:29
Pierre besquent29-Mar-11 1:29 
GeneralRe: System.Math.Max(System.Threading.Interlocked.Increment(ref i), i - 1); functionality PinPopular
Pete O'Hanlon29-Mar-11 2:16
mvePete O'Hanlon29-Mar-11 2:16 
GeneralRe: System.Math.Max(System.Threading.Interlocked.Increment(ref i), i - 1); functionality Pin
DaveyM6929-Mar-11 7:40
professionalDaveyM6929-Mar-11 7:40 
AnswerRe: System.Math.Max(System.Threading.Interlocked.Increment(ref i), i - 1); functionality Pin
Rob Philpott29-Mar-11 1:38
Rob Philpott29-Mar-11 1:38 
AnswerRe: System.Math.Max(System.Threading.Interlocked.Increment(ref i), i - 1); functionality Pin
Luc Pattyn29-Mar-11 1:52
sitebuilderLuc Pattyn29-Mar-11 1:52 
it doesn't make sense at all; i is a local variable, no other thread can touch it, so the whole statement boils down to i++ and the while loop should have been a for loop.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

AnswerCross post Pin
Not Active29-Mar-11 2:27
mentorNot Active29-Mar-11 2:27 
GeneralRe: Cross post Pin
Luc Pattyn29-Mar-11 3:32
sitebuilderLuc Pattyn29-Mar-11 3:32 
GeneralRe: Cross post Pin
Not Active29-Mar-11 3:42
mentorNot Active29-Mar-11 3:42 
GeneralRe: Cross post Pin
Luc Pattyn29-Mar-11 4:20
sitebuilderLuc Pattyn29-Mar-11 4:20 
QuestionEvent-Based programming Pin
reversing28-Mar-11 22:06
reversing28-Mar-11 22:06 
AnswerRe: Event-Based programming Pin
Pete O'Hanlon28-Mar-11 22:13
mvePete O'Hanlon28-Mar-11 22:13 
GeneralRe: Event-Based programming Pin
reversing28-Mar-11 22:19
reversing28-Mar-11 22:19 
GeneralRe: Event-Based programming Pin
Pete O'Hanlon28-Mar-11 22:46
mvePete O'Hanlon28-Mar-11 22:46 
AnswerRe: Event-Based programming Pin
PIEBALDconsult29-Mar-11 2:45
mvePIEBALDconsult29-Mar-11 2:45 
QuestionC# Warnings Pin
karthikgowda28-Mar-11 21:04
karthikgowda28-Mar-11 21:04 
AnswerRe: C# Warnings Pin
Pritesh Aryan28-Mar-11 21:14
Pritesh Aryan28-Mar-11 21:14 
AnswerRe: C# Warnings Pin
Pete O'Hanlon28-Mar-11 22:18
mvePete O'Hanlon28-Mar-11 22:18 
AnswerRe: C# Warnings Pin
OriginalGriff28-Mar-11 22:23
mveOriginalGriff28-Mar-11 22:23 
GeneralRe: C# Warnings Pin
Pete O'Hanlon28-Mar-11 22:50
mvePete O'Hanlon28-Mar-11 22:50 
GeneralRe: C# Warnings Pin
OriginalGriff28-Mar-11 22:55
mveOriginalGriff28-Mar-11 22:55 
GeneralRe: C# Warnings Pin
karthikgowda29-Mar-11 6:20
karthikgowda29-Mar-11 6:20 
AnswerRe: C# Warnings Pin
Ganesh Kumar Kaki13-Apr-11 2:26
Ganesh Kumar Kaki13-Apr-11 2:26 

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.