Multithreaded programming can seem overwhelming but this book clarifies everything through its cookbook approach. Packed with practical tasks, it's the quick and easy way to start delving deep into the power of multithreading in C#. Overview In Detail In an age when computer processors are being developed to contain more and more cores, multithreading is a key factor for creating scalable, effective, and responsive applications. If you fail to do it correctly, it can lead to puzzling problems that take a huge amount of time to resolve. Therefore, having a solid understanding of multithreading is a must for the modern application developer. Multithreading in C# 5.0 Cookbook is an easy-to-understand guide to the most puzzling programming problems. This book will guide you through practical examples dedicated to various aspects of multithreading in C# on Windows and will give you a good basis of practical knowledge which you can then use to program your own scalable and reliable multithreaded applications. This book guides you through asynchronous and parallel programming from basic examples to practical, real-world solutions to complex problems. You will start from the very beginning, learning what a thread is, and then proceed to learn new concepts based on the information you get from the previous examples. After describing the basics of threading, you will be able to grasp more advanced concepts like Task Parallel Library and C# asynchronous functions. Then, we move towards parallel programming, starting with basic data structures and gradually progressing to the more advanced patterns. The book concludes with a discussion of the specifics of Windows 8 application programming, giving you a complete understanding of how Windows 8 applications are different and how to program asynchronous applications for Windows 8. What you will learn from this book Approach This book is an easy-to-follow guide full of hands-on examples of real-world multithreading tasks. Each topic is explained and placed in context, and for the more inquisitive readers, there are also more in-depth details of the concepts used. Who this book is written for If you are a developer or new to multithreaded programming and you are looking for a quick and easy way to get started, then this book is for you. It is assumed that you have some experience in C# and .NET already, and you should also be familiar with computer science and basic algorithms and data structure.
First of all, this is a Cookbook and as such its main purpose is to serve as reference for specific usages and future needs. I wouldn't recommend reading it straight through, just use it for consulting specific things you need to do. If you do read it from start to finish though i will tell that the first few chapters introduce you to the basics of threading (which hasn't changed much since C# 2.0 as far as i know) and the complexity of the code scales in a very nice pace.
All recipes follow the format of first “Getting ready” then “How to do it…” and finally “How it works…” The thing i liked the most is the “How it works…” sections since most Cookbooks don't contain a very deep explanation on how the code works but this one is less shallow than most. I won't say it explains in excruciating details every single part of the code but at least it does transmit the idea behind every code snippet well enough so you can come up with your own variations.
If you are taking a degree in computer sciences or if you work with C# in a regular basis i would totally recommend to get this book into your library so you can have it for future references.
The book covers all Main topics in Multithreading. Unless other cook books this book contain 50+ code recipes with Detailed explanation.
All code recipes follow the below format 1.“Getting ready” 2.“How to do it” 3.“How it works…”.
As I said earlier final section “How it works…” contains a very deep explanation on how the code works.
I liked this part very much.
If you are a college graduate learning C# or if you are a regular C# developer I would totally recommend to get this book for future references. http://goo.gl/MDeseO