.NET Threading

FunctionX Tutorials

1 - Introduction to Threading

Introduction to processes, threads, STAs, and MDAs

This is an introduction to creating, using, and managing threads. Threads operations include starting, suspending, and/or terminating a thread.

2 - The Characteristics of a Thread

When it comes to a thread, many aspects are fundamental to it

A thread includes many details such as its name, its identity, its "Alive" status, its scheduling scheme, its importance or priority, its "Background" status.

3 - Introduction to Lock Threading

Both the operating systems and the C# language provide fundamental support for threads.

Introduction to transaction locking (including thread atomicity, locking, nesting, etc). When it comes to managing threads, routine operations include entering, monitoring, and exiting a thread operation.

4 - Operations on Lock Threading

A review of the ability to combine conditions for a query

Thread management involves many operations such as requesting, synchronizing, checking the availability of a lock. Additional operations include interlocking some threads: incrementing or decrementing an integer, adding two integers, exchanging values, comparing and exchanging two values.


5 - THE .NET FRAMEWORK SUPPORT FOR LINQ

Introduction to the .NET Framework Support

Introduction to classes at the foundation of the LINQ

Finally, the interfaces and classes that lead the language integrated query are introduced here. These include the Enumerable class, the regular IEnumerable and IQueryable interfaces, and the generic IEnumerabler<> interface. The ability to convert the results of a query to an array, to a list, or to a dictionary are also mentioned.


6 - INTRODUCTION TO CLASSES/RECORDS/STRUCTURES

Introduction to Classes, Records, and Structures

Creating a custom class and involving it in a query

In previous lessons, queries are created from arrays of primitive values. In this lesson, we learn to create queries using objects from our own classes, records, and structures. After creating a class/record/structure by adding the members (properties and methods) we judge necessary, we learn to make query selections from those members by accessing a property or calling a method.


7 - THE LET AND NEW KEYWORDS

Letting New Values

Some additional keywords to construct a query

The language integrated query includes some interesting keywords that can be used to create query objects that resemble object-oriented programming, which is the ability to create classes. To support this aspect, the LINQ provides the let keyword and its support for the new operator.


8 - RECORDS JUNCTIONS

Joining Records

Joining, cross joining, inner joining, and outer joining records

One of the complex operations performed in a query is to join record, whether those records are related or not. This is a valuable aspect of data analysis. The LINQ supports various ways to join records using operators such as join and equals, and also the Enumerable.DefaultIfEmpty() method. In reality, there are different ways the keywords are mixed to get the desired query results.


9 - BUILT-IN CLASSES OPERATIONS

.NET Support for Query Operations

A detailed review of query operations supported by .NET built-in classes

In a previous lesson, we were introduced to the .NET classes and interfaces that lead the language integrated query, but we didn't review their contents. Well, the classes and interfaces that serve for the foundation of the LINQ are equipped with various methods for diffent types of operations.

FunctionX

This site provides various types of tutorials and lessons on application use, programming, and application design.

FunctionX Tuturials

.NET Graphics

LINQ

F# (Console)

Python

Microsoft Visual C#

Microsoft Access

VBA Access

HTML

Cascading Style Sheet

JavaScript

PHP