Categorieën Zakelijk
Gratis leerboek

C# 8: Threads and LINQ

Software Development

189
Taal:  English
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.
Download gratis tekstboeken als PDF of lees ze online. Minder dan 15% advertenties.
Het zakelijk abonnement is gratis voor de eerste 30 dagen, daarna$5.99/maand
Beschrijving
Inhoud

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
Over de auteur

Poul Klausen