Working with Multiple Threads

This chapter, which winds up our C# survey, is on two important topics: multithreading and remoting. We'll tackle multithreading first, and turn to remoting—the process of sending types and objects across application and machine boundaries—in the second half of the chapter.

As you might already know, a thread is a stream of execution in your code, and C# programs can support multiple threads. Using multithreading (also called free threading), your code can be doing one thing with the user and another behind the scenes, such as working on some long, involved calculation. In this way, your code won't appear to freeze as that long calculation is performed. There are thousands of uses for threads, of course—you might ...

Get Microsoft® Visual C#® .NET 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.