LINQ: LET vs INTO

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Subscribe for more content: vid.io/xqZ4
    Check out our other videos: vid.io/xqZ9
    In this episode we look at LINQs LET and INTO keywords, what they do and how to use them.
    Language-Integrated Query (LINQ) is the name for a set of technologies based on the integration of query capabilities directly into the C# language (also in Visual Basic and potentially any other .NET language). With LINQ, a query is now a first-class language construct, just like classes, methods, events and so on.
    For a developer who writes queries, the most visible "language-integrated" part of LINQ is the query expression. Query expressions are written in a declarative query syntax introduced in C# 3.0. By using query syntax, you can perform even complex filtering, ordering, and grouping operations on data sources with a minimum of code. You use the same basic query expression patterns to query and transform data in SQL databases, ADO.NET Datasets, XML documents and streams, and .NET collections.

Комментарии • 3

  • @rafinia
    @rafinia 9 лет назад

    Very informative! Both of these keywords are awesome and using LET will make my code cleaner :)

  • @SagdiyevOfficial
    @SagdiyevOfficial 9 лет назад

    very nice

  • @MotoWilliams
    @MotoWilliams 9 лет назад

    le Awesome!