Wely Microsoft MVP, Visual C#
3
.NET 1.0.NET 1.1.NET NET CLR 1.0 CLR 1.1 CLR 2.0 CLR 4 SP1
Core Services Base Class Library Common Language Runtime Windows Workflow Foundation Managed Extensibility Framework Data Services Windows Communicatio n Foundation “Velocity” User Interface Windows Presentation Foundation ASP.NET (WebForms, MVC, Dynamic Data) Data Access Entity Framework LINQADO.NET Parallel Extensions WinForms LINQ to SQL Languages Dynamic Language Runtime
Network support and managed services
−Parallel Loop −Parallel LINQ (PLINQ) var q = from p in people where p.Name == queryInfo.Name && p.State == queryInfo.State orderby p.Year ascending select p; var q = from p in people where p.Name == queryInfo.Name && p.State == queryInfo.State orderby p.Year ascending select p; for(int a = 0; a < 16; a++) { Console.WriteLine("TID={0}, i={1}", Thread.CurrentThread.ManagedThreadId, a); SimulateProcessing(); } Parallel.For(0, 16, i => { Console.WriteLine("TID={0}, i={1}", Thread.CurrentThread.ManagedThreadId, a); SimulateProcessing(); ); });
Wely Microsoft MVP, Visual C#