This question is locked. New answers and comments are not allowed.
Any chance of fixing the VB sample code in the documentation. It is full of errors.
Take this sample located here
http://www.telerik.com/help/openaccess-orm/introduction-to-linq.html
There is no var type in visual basic and the function requires a data type
This is what the code should look tike
Thanks
Take this sample located here
http://www.telerik.com/help/openaccess-orm/introduction-to-linq.html
Dim words As String() = New String() {"Hello", "world", "of", "Telerik", "OpenAccess", "ORM"} |
Dim result As var = words.Where(Function(w As ) w.Length > 4).[Select](Function(w As ) w) |
For Each word As String In result |
Console.WriteLine(word) |
Next |
Console.ReadLine() |
There is no var type in visual basic and the function requires a data type
This is what the code should look tike
Dim words As String() = New String() {"Hello", "world", "of", "Telerik", "OpenAccess", "ORM"} |
Dim result = words.Where(Function(w As String) w.Length > 4).[Select](Function(w As String) w) |
For Each word As String In result |
Console.WriteLine(word) |
Next |
Console.ReadLine() |
Thanks