Dim sites() As String = {"Stack Overflow", "Super User", "Ask Ubuntu", "Hardware Recommendations"}
Dim query = From x In sites Where x.StartsWith("S")
' result = "Stack Overflow", "Super User"
Query will be enumerable object containing Stack Overflow
and Super User
. x
in the query is iterating variable where will be stored each object checked by Where
clause.