Generation Operations (C#)
Generation refers to creating a new sequence of values.
The standard query operator methods that perform generation are listed in the following section.
Methods
| Method Name | Description | C# Query Expression Syntax | More Information |
|---|---|---|---|
| DefaultIfEmpty | Replaces an empty collection with a default valued singleton collection. | Not applicable. | Enumerable.DefaultIfEmpty Queryable.DefaultIfEmpty |
| Empty | Returns an empty collection. | Not applicable. | Enumerable.Empty |
| Range | Generates a collection that contains a sequence of numbers. | Not applicable. | Enumerable.Range |
| Repeat | Generates a collection that contains one repeated value. | Not applicable. | Enumerable.Repeat |
See also
Feedback
Issottometti u ara feedback għal