Hello
I know nothing about linq (I want to learn)
I have the following code
What I would like it to do is a) create an array with 11 elements b) load the array with random numbers from 20 to 35 without duplicates
Would you help with the code. My book on linq is not here yet and I need the code today if possible.
forever in your debt
george
I know nothing about linq (I want to learn)
I have the following code
Code:
Private r As Random
Sub Main()
r = New Random
'Create an array of exclusive numbers from 0 to 10
Dim exclusive_numbers() As Integer = Enumerable.Range(0, 10).OrderBy(Function(n) r.Next(20,35)).ToArray
End SubWould you help with the code. My book on linq is not here yet and I need the code today if possible.
forever in your debt
george





