Created
February 5, 2016 18:03
-
-
Save abhijeetbhagat/164c36f993a9269d2e0b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
class ThreadTest{ | |
static int Main(){ | |
var t = new Thread(()=>Console.WriteLine("abhi")); | |
t.Start(); | |
t = new Thread(go); | |
t.Start(); | |
return 0; | |
} | |
static void go(){ | |
Console.WriteLine("rocks"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment