Get the main thread : Main Thread : Thread C# Examples


C# Examples » Thread » Main Thread »

 

Get the main thread









    
using  System;  
using  System.Threading;  
  
class  MainClass  {  
    public  static  void  Main()  {  
        Thread  thrd;  
  
        //  Get  the  main  thread.  
        thrd  =  Thread.CurrentThread;  
  
  
    }  
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Thread
» Main Thread