views:

207

answers:

2

I come from a Java background. I am wanting to learn more about concurrency in .Net and C#. Is there something similar to Java's concurrent utils package?

+6  A: 

The closest will be the new threading abilities in .NET 4.0, also known as Parallel Extensions.

The existing capabilities of .NET (i.e. in 3.5 and earlier) are better than Java without java.util.concurrent, but it certainly doesn't cover everything which is in java.util.concurrent.

The Parallel Extensions Team Blog is well worth reading to learn more.

Jon Skeet
Thank you. This might be what I am looking for. I would like to learn to write really high performance concurrent code in C#. I would know how in Java but would like to port that knowledge to .Net. Just because I feel that the Java language (as much as I like it) is getting left behind.
uriDium
Parallel Extensions is definitely what you want to be looking at then. You might also want to investigate the CCR for a bit of fun: http://msdn.microsoft.com/en-us/magazine/cc163556.aspx
Jon Skeet
Perfect thanks. I am sure this and maybe a book or two is what I need.
uriDium
+1  A: 

Most of the stuff you will be interested in is probably in the System.Threading namespace.

.NET 4.0 has some very interesting extensions called ParallelFX that looks really promising as well.

Goyuix