Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write the sample code for threading in c# .net..

Answer Posted / sivakumar v

Static Void Run()
{
Console.WriteLine("Thread Is Running");

}
static void Main()
{
Thread TrdObj=new Thread(Run);//create the obj
TrdObj.start();

}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class have static constructor?

996


What is difference between dictionary and list in c#?

886


Why do we need constructors?

905


What is the difference between CreateObject() and GetObject()?

1123


Is friend a constructor?

925


How do I calculate relative time?

939


How to move to a state-related codebase?

1545


What is static noise?

914


What is strong data type in c#?

883


What is value c#?

833


What is ilist c#?

951


Explain acid rule of thumb for transactions in c#.

982


Explain the constructor in c#.

1111


What is Covariance and contravariance in C#?

1064


What is gac? What are the steps to create an assembly and add it to the gac?

924