Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class _Default
- Inherits Page
- Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
- Dim list As IQueryable(Of String) = New List(Of String) With {.Capacity = "first", .Capacity = "second"}
- Dim first = list.Where(Function(s) s = "first").SingleOrDefault()
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment