Permalink
Fetching contributors…
Cannot retrieve contributors at this time
|
//using System.Threading; |
|
|
|
class ThreadTest |
|
{ |
|
public void RunMe() |
|
{ |
|
Console.WriteLine("RunMe called"); |
|
} |
|
|
|
static void Main() |
|
{ |
|
ThreadTest b = new ThreadTest(); |
|
Thread t = new Thread(b.RunMe); |
|
t.Start(); |
|
} |
|
} |
|
// Output: RunMe called |
You can't perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.