Generation
operators are the operators in LINQ which are use to produce an range
and repetition of result. These are two types Range Operator and Repeat
Operator. In this article we discuss about these two categories of the Generation Operators.
EXAMPLE CODE
Module Module1
Sub Main()
Dim Values = From n In Enumerable.Range(1, 20) Select No = n, OddEven = If(n Mod 2 = 1, "odd", "even")
For Each n In Values
Console.WriteLine("The number {0} is {1}.", n.No, n.OddEven)
Next
Console.ReadLine()
End Sub
End Module
Read Full Article Here