|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
What is Threading in C# Programming ? Hi I read threading in C# book but i did't understand what is that can some one who know C# can explain me what is threading in C# ? Thanks |
#2
| |||
| |||
Re: What is Threading in C# Programming? Threading enables your C# program to perform concurrent processing so you can do more than one operation at a time. For example, you can use threading to monitor input from the user, perform background tasks, and handle simultaneous streams of input. The System.Threading namespace provides classes and interfaces that support multithreaded programming and enable you to easily perform tasks such as creating and starting new threads, synchronizing multiple threads, suspending threads, and aborting threads. |
#3
| |||
| |||
Re: What is Threading in C# Programming? To incorporate threading in your C# code, simply create a function to be executed outside the main thread and point a new Thread object at it. The following code example creates a new thread in a C# application: Code: System.Threading.Thread newThread; newThread = new System.Threading.Thread(anObject.AMethod); Code: newThread.Start(); |
![]() |
|
Tags: c sharp, threading |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Threading in c# .net | Athreya | Software Development | 3 | 12-01-2011 03:29 PM |
What is Hyper threading | Ameeryan | Overclocking & Computer Modification | 2 | 06-10-2009 04:03 PM |
VB.NET threading question | AmolP | Software Development | 3 | 14-02-2009 06:03 PM |
Threading Unleashed | Cool_Rahul | Software Development | 0 | 19-12-2008 01:39 PM |
JetBrains Introduces a New Programming Paradigm With its Meta Programming System | JoeFrat | Software Development | 3 | 13-12-2008 01:49 PM |