C# 8: Threads and LINQ

Software Development

Avaliações:
( 0 )
189 pages
Idioma:
 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.
Este é um e-book grátis para estudantes
Todos os livros de estudantes são grátis para sempre. Menos de 15% de anúncios
 
Subscrição para empresas grátis nos primeiros 30 dias, após o período $5.99/mês
Última adição
Sobre o autor

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

Descrição
Conteúdos

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