Knowledge Transfer

Tuesday, September 16, 2008

Threading in C#.Net

C# supports parallel execution of code through multithreading. A thread is an independent execution path, able to run simultaneously with other threads.

A C# program starts in a single thread created automatically by the CLR and operating system (the "main" thread), and is made multi-threaded by creating additional threads. Here's a simple example and its output:

http://www.albahari.com/threading/#_Introduction

Happy Coding

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home