Click here to Skip to main content
15,879,535 members
Home / Discussions / C#
   

C#

 
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
AnswerRe: Delegates and Parallel.For Pin
S. Senthil Kumar25-May-09 3:38
S. Senthil Kumar25-May-09 3:38 
GeneralRe: Delegates and Parallel.For Pin
harold aptroot25-May-09 3:39
harold aptroot25-May-09 3:39 
GeneralRe: Delegates and Parallel.For Pin
S. Senthil Kumar25-May-09 3:52
S. Senthil Kumar25-May-09 3:52 
GeneralRe: Delegates and Parallel.For Pin
Fahad Sadah25-May-09 7:26
Fahad Sadah25-May-09 7:26 
AnswerRe: Delegates and Parallel.For Pin
Nicholas Butler25-May-09 7:54
sitebuilderNicholas Butler25-May-09 7:54 
QuestionSlide bar Pin
yesu prakash25-May-09 1:18
yesu prakash25-May-09 1:18 
AnswerRe: Slide bar Pin
Eduard Keilholz25-May-09 3:37
Eduard Keilholz25-May-09 3:37 
QuestionAccessing the right Registry entry for Internet Explorer in C# Pin
ramz_g25-May-09 1:05
ramz_g25-May-09 1:05 
AnswerRe: Accessing the right Registry entry for Internet Explorer in C# Pin
Rajesh R Subramanian25-May-09 4:03
professionalRajesh R Subramanian25-May-09 4:03 
QuestionXmlTextWriter and MemoryStream Pin
OriginalGriff25-May-09 1:05
mveOriginalGriff25-May-09 1:05 
Question7.1 Surround Sound Pin
Chris MacEwan25-May-09 0:51
Chris MacEwan25-May-09 0:51 
AnswerRe: 7.1 Surround Sound Pin
molesworth25-May-09 2:18
molesworth25-May-09 2:18 
Questionopen aspx page Pin
michaelgr125-May-09 0:50
michaelgr125-May-09 0:50 
AnswerRe: open aspx page Pin
padmanabhan N25-May-09 1:31
padmanabhan N25-May-09 1:31 
GeneralRe: open aspx page Pin
michaelgr125-May-09 1:32
michaelgr125-May-09 1:32 
AnswerRe: open aspx page Pin
Ramesh Swaminathan25-May-09 3:22
Ramesh Swaminathan25-May-09 3:22 
AnswerRe: open aspx page Pin
Vasudevan Deepak Kumar25-May-09 3:51
Vasudevan Deepak Kumar25-May-09 3:51 

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.