Click here to Skip to main content
12,506,841 members (61,299 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

2.2K views
1 bookmarked
Posted

How to run method in separate thread

, 24 Mar 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
You may actualy skip delegate types when assigning a method to execute: private void DoLongOperation( ) { // long processing } Thread thr = new Thread(DoLongOperation); thr.Start( );
You may actualy skip delegate types when assigning a method to execute:

private void DoLongOperation( ) {
 // long processing
}
 
Thread thr = new Thread(DoLongOperation);
thr.Start( );

License

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

Share

About the Author

Nick Reshetinsky
Student
Ukraine Ukraine
No Biography provided

You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160927.1 | Last Updated 24 Mar 2011
Article Copyright 2011 by Nick Reshetinsky
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid