Is it multitasking?

Posted by Newbie on Stack Overflow See other posts from Stack Overflow or by Newbie
Published on 2010-06-08T06:57:12Z Indexed on 2010/06/08 7:22 UTC
Read the original article Hit count: 242

Filed under:
|
|

Consider the below program

myThread = new Thread(
                        new ThreadStart(
                            delegate
                            {
                                Method1();
                                Method2();
                            }
                            )
                            );

Is it that 2 threads are getting called parallely(multitasking) or a single thread is calling the methods sequentially?

It's urgent.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET