Issues are underlined:
Dim ascQuery = From asc In ascNames
Order by ascName.Lendth Ascending, ascName Descending
...
wouls rather be
Dim ascQuery = From asc In ascNames
Order By asc.Length Ascending, asc Descending
Select asc
- Variable name is
asc
, its type is
string
.
- It is sorted by ascending length (
Length
property of
string
object) and descending value.
- There must be a
Select
statement.
Kindly.