XSharp LINQ 101 samples
Introduction
This is the starting point to the LINQ samples. The samples show how to use different LINQ methods with X# (Core or VO dialect). The samples are written using the Lambda syntax. If the LINQ method used in the sample also supports the query syntax, tabs are shown to switch between Lambda and Query syntax.
Navigation
The samples are grouped by operation type. Use the tree on the left to select one of the operation types or samples.
Sample structure
Every sample is structured in the following way:
Section | Contains |
---|---|
Description | A short introduction to the LINQ method demonstrated in the sample. |
Sample | A short description of the sample and the code. Tabs to switch between Lambda and Query syntax are shown, if the query syntax is supported for the method. |
Output | The output produced by the sample. |
Complete sample | The complete sample code, including the usings, the execute procedure to run the sample and additional class definitions if necessary. |