Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: File types Pin
harold aptroot25-May-09 7:28
harold aptroot25-May-09 7:28 
GeneralRe: File types Pin
viciouskinid25-May-09 8:19
viciouskinid25-May-09 8:19 
GeneralRe: File types Pin
harold aptroot25-May-09 8:35
harold aptroot25-May-09 8:35 
GeneralRe: File types Pin
viciouskinid25-May-09 10:19
viciouskinid25-May-09 10:19 
GeneralRe: File types Pin
harold aptroot25-May-09 10:42
harold aptroot25-May-09 10:42 
GeneralRe: File types Pin
viciouskinid25-May-09 19:05
viciouskinid25-May-09 19:05 
GeneralRe: File types Pin
harold aptroot25-May-09 23:42
harold aptroot25-May-09 23:42 
GeneralRe: File types Pin
viciouskinid26-May-09 7:02
viciouskinid26-May-09 7:02 
GeneralRe: File types Pin
harold aptroot26-May-09 7:13
harold aptroot26-May-09 7:13 
GeneralRe: File types Pin
viciouskinid27-May-09 0:25
viciouskinid27-May-09 0:25 
QuestionOracle DB Querry Application Error Pin
al3xutzu0025-May-09 4:07
al3xutzu0025-May-09 4:07 
AnswerRe: Oracle DB Querry Application Error Pin
Rajesh Anuhya25-May-09 4:18
professionalRajesh Anuhya25-May-09 4:18 
QuestionDxText for Offline VideoWatermarking Pin
anki12325-May-09 3:49
anki12325-May-09 3:49 
AnswerRe: DxText for Offline VideoWatermarking Pin
Manas Bhardwaj25-May-09 3:53
professionalManas Bhardwaj25-May-09 3:53 
Questioninsert into database with foreach Pin
h_floppy25-May-09 3:44
h_floppy25-May-09 3:44 
AnswerRe: insert into database with foreach Pin
Manas Bhardwaj25-May-09 3:51
professionalManas Bhardwaj25-May-09 3:51 
QuestionHelp Me Pin
Nabende25-May-09 2:55
professionalNabende25-May-09 2:55 
AnswerRe: Help Me Pin
OriginalGriff25-May-09 4:34
mveOriginalGriff25-May-09 4:34 
QuestionSpecial thanks to all members Pin
Nabende25-May-09 2:40
professionalNabende25-May-09 2:40 
AnswerRe: Special thanks to all members Pin
EliottA25-May-09 3:28
EliottA25-May-09 3:28 
QuestionAbort a suspended thread Pin
yesu prakash25-May-09 1:56
yesu prakash25-May-09 1:56 
AnswerRe: Abort a suspended thread Pin
Luc Pattyn25-May-09 2:04
sitebuilderLuc Pattyn25-May-09 2:04 
GeneralRe: Abort a suspended thread Pin
Fahad Sadah25-May-09 2:07
Fahad Sadah25-May-09 2:07 
AnswerRe: Abort a suspended thread Pin
Fahad Sadah25-May-09 2:05
Fahad Sadah25-May-09 2:05 
QuestionDelegates and Parallel.For Pin
Fahad Sadah25-May-09 1:25
Fahad Sadah25-May-09 1:25 
for (number=0;primes<10001;number++)

That is a valid for loop.
However, I am trying to parallelize this, and Parallel.For will only accept one delegate.
Therefore, if I wanted
for (number=0;number<10001;number++)

I could do
Parallel.For(0,10001, delegate(int number))

Parallel.For has no overload which accepts two delegates.
What is the Parallel.For equivalent of the first snippet?
Thanks,
Fahad Sadah

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.