Language Integrated Query (LINQ) and IEnumerable [Pt 15] | C# for Beginners

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • View full playlist: aka.ms/dotnet/...
    Set up C# in VS Code: aka.ms/dotnet/...
    🏆Earn the C# Certification: aka.ms/csharp-...
    Learn what LINQ is, how to define a query expression, and how LINQ makes it easy to query any data source. In doing so, Scott and David explore declarative programming and deferred execution.
    Links:
    .NET Beginner Videos: aka.ms/dotnetv...
    MS Learn: aka.ms/dotnet/...
    Blog: aka.ms/dotnet/...
    Twitter: aka.ms/dotnet/...
    TikTok: aka.ms/dotnet/...
    Mastodon: aka.ms/dotnet/...
    LinkedIn: aka.ms/dotnet/...
    Facebook: aka.ms/dotnet/...
    Docs: learn.microsof...
    Forums: aka.ms/dotnet/...
    🙋‍♀️Q&A: aka.ms/dotnet-qa
    👨‍🎓Microsoft Learn: aka.ms/learndo...
    #dotnet #csharp

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

  • @ADAM63639
    @ADAM63639 10 месяцев назад +9

    Microsoft be like:
    "How am I going to teach them about data structures without calling it a data structures leason...🤔"
    Yours teaching method is outstanding!

  • @me4336
    @me4336 12 дней назад

    it does not working List scores = [97, 92, 81, 60]; only work like
    List scores = new List { 97, 92, 81, 60 };

  • @Michael-lo3ht
    @Michael-lo3ht 8 месяцев назад +4

    Kind of off the subject. What kind of mouse is that?

    • @furkan3592
      @furkan3592 3 месяца назад +1

      A kind of ergonomic mouse.

  • @johnedwards5687
    @johnedwards5687 Месяц назад +1

    An amazingly clear explanation that shows how simple LINQ can be at least for beginners like me. I've watched other videos and none of them make a clear distinction between query syntax and method syntax.

  • @OsvaldoJohnson-w7f
    @OsvaldoJohnson-w7f 14 дней назад

    Robinson Jeffrey Thompson Paul Young Deborah

  • @BlackJar72
    @BlackJar72 5 дней назад

    Why do they use the word "simpler" to mean "more complicated"?

  • @ClassicFlush-c8u
    @ClassicFlush-c8u 25 дней назад

    Garcia Betty Lopez Jeffrey Robinson Mary

  • @papacdev
    @papacdev 21 день назад

    LINQ look like a resource consumer one

  • @Michael-lo3ht
    @Michael-lo3ht 8 месяцев назад

    I've used C and C++. This LINQ is new to me. But I've also done db queries. Does it matter if from/where/select are in that order? The reason I ask is it would look like a db query if it was select/from/where.

  • @risechess7114
    @risechess7114 10 месяцев назад +1

    2:16 i have the latest version of visual studio code and the sdk 8.0 but it give me error if i try to List scores = [... it says not available in c#11 plz use 12 or greater, even though i updated sdk to version 8.0 and restart my machine many times, how it is working with u and not working with me, because later it effect the sorting thing int[] scores .... doesnt have sort property. so when u upload lesson just make sure its available in the market, not just for u

    • @davidfowl
      @davidfowl 9 месяцев назад

      Is your project targeting .NET 8 as well?

    • @risechess7114
      @risechess7114 9 месяцев назад +1

      i dont have project am just following up with ur video step by step, thanks for ur replay@@davidfowl

    • @DataScientist268
      @DataScientist268 9 месяцев назад

      @@risechess7114 Find solution?

    • @risechess7114
      @risechess7114 9 месяцев назад

      no not yet@@DataScientist268

    • @mjishnu
      @mjishnu 7 месяцев назад

      create a project like they told in the beginning lectures inside the project folder you can see a .csproj file in it set targetframework to 8 (net8.0) (btw this needs dotnet 8 to be installed to work)

  • @marcusk7855
    @marcusk7855 Месяц назад

    Is the IEnumerable a copy of the list or is it a list of links to the original data? Just wondering from a memory stand point and what happens if there are changes to the original list.

    • @cyberchef8344
      @cyberchef8344 Месяц назад

      It’s an interface. It just specifies the required method names a data structure implementing that interface need. As a byproduct of that, LINQ will work with any implementation. Your question relates more to the individual data structure implementations

  • @MPPBobDelaney
    @MPPBobDelaney 6 месяцев назад

    After years away from writing code in a Windows app, I want to resurrect a 1990s-era Visual Basic desktop app and 'refactor' it in C#. These sessions show me that I can enjoy doing what I did back then in a much more efficient manner. I am also hoping to find sessions that demonstrate how to call Windows functions in the various DLLs that comprise Windows today, and save even more code writing.

    • @cyberchef8344
      @cyberchef8344 Месяц назад

      This is straightforward in c#. Use System.Runtime.InteropServices. It should be noted that a good portion of the windows API already has .NET bindings, but it’s a good thing to understand nonetheless

  • @janpoonthong
    @janpoonthong 2 месяца назад

    Great video, love it

  • @sbubwoofer
    @sbubwoofer 2 месяца назад

    love these guys!

  • @spinningaround
    @spinningaround 7 месяцев назад +1

    no functions

    • @sbubwoofer
      @sbubwoofer 2 месяца назад +1

      no functions? (ancient megamind meme)