Click here to Skip to main content
15,885,998 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there other way, how to execute a method parallely without using Threads?
Posted
Updated 27-Mar-11 22:37pm
v2

Hope this[^] might help you.
 
Share this answer
 
Comments
Reddy Prakash 28-Mar-11 5:30am    
Sorry for the confussion, is it possible in .net 2.0 frame work
No, but you don't have to create threads explicitly and directly.

With .NET Framework v.4.0 you can use tasks and System.Threading.Tasks.Parallel, see http://msdn.microsoft.com/en-us/library/system.threading.tasks.parallel.aspx[^], see also the whole name space: http://msdn.microsoft.com/en-us/library/system.threading.tasks.aspx[^].

For introduction, start here: http://msdn.microsoft.com/en-us/library/dd460693.aspx[^].

—SA
 
Share this answer
 
Comments
Reddy Prakash 28-Mar-11 5:30am    
Sorry for the confussion, is it possible in .net 2.0 frame work
Sergey Alexandrovich Kryukov 28-Mar-11 10:23am    
Just forget it. 4.0. Sorry. And... programming without threads is... well, not serious.

The v.2.0 is a great mature platform, but nothing earlier than that.
If you look my publications here: I support all codes for 2.0 to 4.0 and Mono. That's the real working range this days.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900