C# 8: Threads and LINQ

Software Development

Omdömen:
( 0 )
189 pages
Språk:
 en
The book deals with two subjects, which have nothing directly to do with each other, and the two parts of the book can be read independently of each other.
Det här är en gratis eBok för studerande
Läs online eller ladda ner gratis läroböcker som pdf. Mindre än 15 % reklam.
 
Business-prenumeration gratis de första 30 dagarna, sedan $5.99/månad
Våra senaste eBöcker
Om författaren

Poul Klausen er uddannet cand. scient. i matematik fra Aarhus Universitet med speciale i algebraisk topologi. Efter universitetet og et efterfølgende pædagogikum har Poul Klausen primært arbejdet som underviser og det især inden for it uddannelser og gennem de sidste mange år som underviser på d

The book deals with two subjects, which have nothing directly to do with each other, and the two parts of the book can be read independently of each other. The first part deals with multi-threaded programs and how to synchronize threads. The second part of the book deals with LINQ which primarily is extensions methods defined for collection classes.

Click here to download the source files from this book.

  • Foreword
  1. Introduction
    1. A running program
    2. Application domain
    3. Processes
  2. Threads
    1. Asynchronous delegates again
    2. Exercise 1: Find primes
    3. The class Thread
    4. Exercise 2: Sorting
    5. Exercise 3: Starting threads
  3. Concurrency
    1. A monitor
    2. Thread safe operations
    3. Producer / consumer problem
    4. Exercise 4: Prime generator
    5. More consumers
    6. A semaphore
    7. Exercise 5: Storage program
    8. Exercise 6: Deadlock
  4. A Timer
  5. WPF and threads
    1. Exercise 7: Big numbers
  6. LINQ
    1. Introduction to LINQ expressions
    2. Exercise 8: Query an array
    3. Basic syntax
    4. Exercise 9: Query collections
    5. Query operators
    6. User defined LINQ expressions
    7. Exercise 10: More LINQ expressions
    8. The last thing
  7. Parallel programming
    1. PLINQ
    2. Spell check
    3. Exercise 11: The effect of PLINQ
    4. The use of PLINQ
    5. The class Parallel
    6. Program 1: Matrix multiplication
    7. The Task class
  8. Calendar
    1. Task-formulation
    2. Analysis
    3. The algorithms
    4. Design
    5. Navigate the calendar
    6. Maintenance of notes
    7. Appointments and anniversaries
    8. Watch, Alarm and Timer
    9. The last features
    10. The last iteration