|
|
|
Welcome to Threading section of C# Corner. In this section, you will find articles, tutorials, source code samples, tips, and resources related to threading programming in C#.
|
|
|
|
|
|
|
|
|
Asynchronous Nature of Delegates
by
Amr Monjid
on
Aug 10, 2009
In this article you will see the other face of the delegate type in C#, it will show you how you can invoke a method asynchronously using delegates.
|
Multithreading in C# - A Demo
by
Chuck Iyer
on
Mar 13, 2009
This program illustrates multithreading in C# using a maximum of six elevators
and a minimum of one elevator in a building that can have a maximum of eight floors and a minimum of two floors.
|
Multithreading in C#
by
Bhaskar Gollapudi
on
Oct 01, 2008
This article discusses how to write multithreading applications in C#. Part I of this series will discuss the basics of threads in .NET.
|
Timer Control
by
Prasad
on
Aug 14, 2008
The sample project attached with this article shows how to use the Timer control available in .NET and C#.
|
Timer in C#
by
Mahesh Chand
on
Aug 14, 2008
An article with sample project explains how to work with the Timer control in C# and .NET to write to a text file after few seconds.
|
Background worker simplified
by
Daniel '
on
Mar 03, 2008
This article looks at the Background Worker Technology and encapsulates it into a simple form that can be used over and over to run your background tasks.
|
C# Asynchronous, Multi Threaded Development... Digging In. Part II
by
Matthew Cochran
on
Jun 01, 2007
In this article we'll dig a bit deeper into what is actually happening when we use the asynchronous calls using C#. Just as in my previous article, we'll simulate a long running I/O bound process as if we were fetching records from a database, making a web service call or reading or writing from a file and see how we can write more performant code by letting the main thread continue on and not wait for the results.
|
Multi-threaded Asynchronous Programming in C#... Getting started.
by
Matthew Cochran
on
May 27, 2007
Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming.
|
Loading XML File in a TreeView Control using Multithreading
by
Manisha Mehta
on
Jan 31, 2007
There are many occasions when programmers need to develop multithreading applications, which can load big files in the background and let the user do data entry or other jobs without any interruption. In this article, I'll show you how to create multiple threads to load multiple files.
|
Thread Synchronization using VS.NET 2005
by
Sonu Chauhan
on
Jan 30, 2007
When two or more threads need access to a shared resource, they need some way to ensure that the resource will be used by only one thread at a time. The process by which this is achieved is called synchronization.
|
|
|
|
|
|
|
|
|
How do I use transactions across threads?
by
Mahesh Chand
on
Apr 02, 2007
If you want to start asynchronous threads and have them participate in a transaction, use the DepedentTransaction object. DependentTransction objects can be obtained by called the DependentClone method on a Transaction object.
|
Performance-Conscious Thread Synchronization
by
Mahesh Chand
on
Oct 12, 2005
In my career, I have architected and implemented many thread synchronization techniques. This has provided me with a lot of experience that has shaped the way I now think about thread synchronization problems. In this new column about concurrency, I will discuss my way of thinking on the subject and offer some code that I think you'll find useful when dealing with thread synchronization problems yourself.
|
|
|
|
|
|
|
Multithreading in C# - A Demo
by
Chuck Iyer
on
Mar 10, 2009
This program illustrates multithreading in C# using a maximum of six elevators
and a minimum of one elevator in a building that can have a maximum of eight floors and a minimum of two floors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
This book demonstrates the overwhelming majority of LINQ operators and protoypes, it is a veritable treasury of LINQ examples.
|
|
Browse more books here»
|
|
|
|
|