C# IEnumerable & IEnumerator

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • IEnumerable and IEnumerator play an integral part in your day-to-day development, whether you know about them or not! They can also yield strange results if you don't know how they work.
    In this video I'll show you what they do, how they work and how you can create your own enumerable classes.
    This video is sponsored by Jet brains. Check out their amazing software suite here: jb.gg/vp1aem
    ❤️ Become a Tarobro on Patreon: / tarodev
    =========
    🔔 SUBSCRIBE: bit.ly/3eqG1Z6
    🗨️ DISCORD: / discord
    ✅ MORE TUTORIALS: / tarodev
    00:00 - Intro
    00:20 - First example (Heroes of Olympus)
    4:00 - Second example (Query behaviour / Random)
    6:16 - ToList() tradeoffs - pros & cons
    8:03 - ToList() example
    9:24 - Example benchmark
    11:33 - IDE love
    13:30 - One at a time
    16:45 - Linq benefits on IEnumerables
    18:00 - Custom IEnumerator
    21:41 - Generic IEnumerator for Linq queries
    23:56 - Summary

Komentáře • 242

  • @SandeepKumarP
    @SandeepKumarP Před 2 lety +75

    This is very good content. Most YT creates are just recreating beginner tutorials. We need more intermediate-advanced content like these. Thank you.

  • @moritzscheuerle9447
    @moritzscheuerle9447 Před 2 lety +53

    Would like you see a video about multithreading in c# and unity. Also when to use a new thread or when not to. This would be a nice addition to this video (that's beautiful and detailed btw 😉)

    • @Tarodev
      @Tarodev  Před 2 lety +15

      I'll be tackling this in Part 2 of the async/await video. Won't be long. Thanks for the suggestion :)

    • @moritzscheuerle9447
      @moritzscheuerle9447 Před 2 lety +1

      @@Tarodev thank you

    • @krissloo143
      @krissloo143 Před 2 lety

      @@Tarodev I thought multithreading is not possible in Unity :/ since rendering and physics are already multithreads.

    • @moritzscheuerle9447
      @moritzscheuerle9447 Před 2 lety +1

      @@Tarodev btw, I want one of these licenses 🙏

    • @mofodumbas
      @mofodumbas Před 2 lety

      Im in to that too!

  • @overrideFunction
    @overrideFunction Před rokem +1

    "Your code might not be doing exactly what you think it is doing" Yup. That's me most of the time as I bang my head into the keyboard saying why isn't this working!

  • @jameslavery2958
    @jameslavery2958 Před 2 lety +3

    How does this channel not have more subscribers and views? Amazing content, man.
    Thank you for all you give to the community.

  • @YOSFP
    @YOSFP Před 2 lety

    the awesome thing about your tutorials is that you are clearly experienced in what you show. love it, subbed with da bell 👍

  • @JoshuaVillarreal009
    @JoshuaVillarreal009 Před 2 lety +2

    Love seeing Linq Love. Would love to see a video on Custom Editors for Unity. Still new to the channel but so far definitely a new favorite of mine.

  • @olon1993
    @olon1993 Před 2 lety

    This video was outstanding!

  • @THEspindoctor84
    @THEspindoctor84 Před 2 lety

    this is awesome, thank you!

  • @MafiaSniper
    @MafiaSniper Před rokem

    One of the most useful videos ever!

  • @umapessoa6051
    @umapessoa6051 Před 2 lety +2

    Thats a really good video, keep up the great work.

  • @ITSJTG58
    @ITSJTG58 Před 2 lety +12

    Hey Taro, you're the latest developer I've started watching on CZcams, and your content and technical level is a testament to how much I've grown developing. Your async video showed me that there's a world of techniques and skills I haven't even heard of and that's a great motivation, Thanks!
    I'd love to see a video about the process you go through when tackling a new project, specifically the design of the arquitecture of code that is done before one sits down and starts coding. I've been taught the benefits of getting good at thinking in a modular way and assigning roles to my components beforehand and it is a skill that has boosted my development time immensely, I usually design a quick prototype, code it, and then go back to the whiteboard(shout-out to Milanote) to design a fleshed out arquitecture/system for my project.
    Keep on rocking!

  • @epiphanyatnight8732
    @epiphanyatnight8732 Před 2 lety +1

    Loving these videos and how you put so much thought into how to structure them. I'd love to see some project management tips video, like how do you approach a project, how do you set milestones, etc. That would be a great new aspect.

  • @bradhammond923
    @bradhammond923 Před 2 lety +1

    Rad vid, I like that you're finding topics to cover that I don't often see covered elsewhere. Good intermediate coding material.
    Would be keen to see what kinds of processes and standards you use when setting up your dev environment (project management, coding standards ) any useful tips that go along with that.

  • @bluscience
    @bluscience Před 2 lety

    The diversity of the content and the way you present the information is really fantastic, since you are able to learn about C#, Unity, AI, all in a fun way 😁. I was trying to learn more about Generics and that's how I found your channel.
    I would like to see videos about character animations, weapons switching, building smart(er) enemies, level design.

  • @babakiani
    @babakiani Před rokem +2

    Really well explained Sir! Thanks a bunch!

  • @mongrelgaming1473
    @mongrelgaming1473 Před 2 lety +1

    Just found your channel and hooked on how you deliver, only a couple of months into learning coding for unity so these videos are awesome.
    Would love a license but it may be wasted on someone of my skill level. :)
    Would love to see more videos on state management.

  • @jonahmcconnell4818
    @jonahmcconnell4818 Před 2 lety +1

    Love these sorts of videos that help expose me to some of the deeper concepts of C#. Enumerables and Linq statements are definitely what I need to be learning next, so this is a massive help, thanks! I would love to see a video over best practices for saving and loading data in the future too. (and of course I would love a Rider license, I mean, who wouldn't???)

  • @RomiFauzi
    @RomiFauzi Před 2 lety

    Been using Unity and C# for 6 years, but always learned new things when watching your videos, those Rider tips are slick!

  • @bourbonbristles
    @bourbonbristles Před 2 lety

    This was awesome. Definitely did NOT know about the multiple enumeration issue. You sir, are a legend.

  • @beetrootpaul
    @beetrootpaul Před 6 měsíci

    A very, very good content! Thanks for this quick but substantial lesson about enumerables 💯

  • @JoschinoDev
    @JoschinoDev Před 2 lety +1

    Love the fact that you not only do Unity specific content but also go into more advanced C# functions,
    it really helps thinking of some solutions for a couple of my problems.
    I dont necessarily have a request for a videos I just enjoy your content and your take on some functions.

  • @kathleenbryan24
    @kathleenbryan24 Před 2 lety +1

    Your Unity/C# content is literally awesome. Thank you for your videos and the work you put into this!

    • @Tarodev
      @Tarodev  Před 2 lety

      Thank you Kathleen 😊

  • @varcel4625
    @varcel4625 Před 2 měsíci

    Didn't knew the StopWatch class exists, thanks! Great video by the way!

  • @DanPos
    @DanPos Před 2 lety +2

    Really enjoyed the Linq section mate - I've recently just started getting my head around Linq stuff so seeing more applications of it is always great. In a future video I would really enjoy some procedural level generation stuff (for example, a dungeon generator). I've followed a few before but would like to see some more advance systems. Oh and it goes without saying I'd love to get my little fingies on one of those Rider keys!

  • @justinwhite2725
    @justinwhite2725 Před 2 lety

    Thanks for this. I only barely know about Enumerables from Coroitines so this seems like it will help me use them better both there and elsewhere.

  • @roytazz
    @roytazz Před 2 lety +1

    A video about events and delegates would be a good addition to your C# series

    • @Tarodev
      @Tarodev  Před 2 lety

      You're incredibly correct on that assessment.

  • @JoachimVesely
    @JoachimVesely Před 2 lety +1

    Great topic!

  • @chujies
    @chujies Před 2 lety +2

    Love the video! I have always used IEnumerators in Unity as coroutines so its interesting to see them used like this.
    I am currently solo developing a game and a license to use Rider would help speed up programming immensely!
    I would like to see videos that are more intermediate to advanced in terms of programming concepts, as there are a lot of beginner turorials but very few that really dig deep :)

  • @notagamedev5494
    @notagamedev5494 Před 2 lety +1

    Nice to see how fast you are going up CZcams. Lots of good videos published quickly. Continue like that! I am learning from all of that!
    I was using numerators without knowing how they work. Now I have a idea.
    I would like to see video about inheritance and polymorphism while you are talking about open/closed principle.

  • @GiraPrimal
    @GiraPrimal Před 2 lety +1

    Interesting video!
    I've been learning how to work on Unity for a few years, digging here and there for tutorials and doing some personal projects as practice. Learning never actually ends, I suppose!
    I'd love to see a future video about what design patterns are recommended in video game development.

  • @ElegantWaster
    @ElegantWaster Před 2 lety +1

    I think videos like this are required more, as most guides online focus on beginner/lower intermediate side of things with the occasional bad practice, but easy to implement approach, whereas this ventures into general optimisations and correct use cases for pretty common actions.
    More videos of this kind, leaning more into advanced topics are a good stepping stone for junior developers to lean into.

  • @pablofreitasmachado8076

    THIS WAS AWESOME.

  • @Eduard02834
    @Eduard02834 Před rokem

    Thank you very much sir !

  • @NHGeneral
    @NHGeneral Před 2 lety

    I have commented on your channel afew months ago to learn, now I got my games in 2D &3D running, thank you for sharing ☺

  • @NotElayn
    @NotElayn Před 2 lety +3

    Really learned something new today. Also, my suggestion for the next video would be a video about multithreading. There are very few videos that are actually informative and teaches you stuff on CZcams about multithreading and when to or not to use threads. I have always been curious on how to implement it efficiently. Also would love to have that rider license 💜

  • @qiangpanchen6785
    @qiangpanchen6785 Před rokem

    I couln't understand the concept half year ago, I guess I didn't have enough context around the language, but now by re watching this video I started to get it, thank you for the wonderful and clear tutorial !! And I've used Rider for nearly one month, it's fantastic !

  • @eFko_
    @eFko_ Před rokem +1

    Amazing!

  • @libberator5891
    @libberator5891 Před 2 lety +1

    Another great video as always! Loved learning about the internal optimization that Linq does with IEnumerables; was surprised it didn't first take three.
    I'd be keen to see a short & sweet video about the differences between heap vs stack, intuitive analogies, and some practical examples and considerations between using one over the other.
    Awesome to see you getting sponsored! You've earned it!

    • @Tarodev
      @Tarodev  Před 2 lety +1

      Heap vs stack and general memory management is a fantastic suggestion! And thank you lab~ 😉

  • @zeldinus
    @zeldinus Před 2 lety +1

    Keep up the good work! Although some things i dont quite understand as a beginner, i like the quality of your channel!

    • @Tarodev
      @Tarodev  Před 2 lety

      You'll get there fotis :)

  • @erodenn
    @erodenn Před 2 lety +1

    I was guna watch this anyways but the title made me click harder and faster, great vid Enumerables have always been something I used without fully understanding it so this was great. I would love to see a video that goes super in depth on the applications for Scriptable Objects. Specifically, an example for using them for cards in a CCG, and how to create collections of them that you can reference in something like a collection manager class. That would be super helpful for a project I'm working on right now, and I would love a Rider license!

  • @PcKaffe
    @PcKaffe Před 2 lety

    I like how you present informations in your videos as a whole, this included. I would love to see a video on how to lay out a plan for something that requires multiple classes. I usually just start with something and then break it apart... I know it's bad, but I have only been at coding for like 8 months and figuring out a structure before I start never really ends well at all. Oh and I would like the Rider IDE thing.

  • @KasparOrange
    @KasparOrange Před rokem

    @Tarodev Thank you for this lesson. Love your teaching style man. Wished I have had you as a teacher.

    • @Tarodev
      @Tarodev  Před rokem +1

      Aww, thank you man 🙏
      And you do have me as a teacher 😊

  • @IcarusPhoenix
    @IcarusPhoenix Před 2 lety +1

    Loved the video.
    I'd like to see some more vids of you creating mechanics from other video games :)

    • @Tarodev
      @Tarodev  Před 2 lety

      I'd love to do more of that content

  • @SkylorBeck
    @SkylorBeck Před 2 lety

    Dude! I'm so jealous! Gratz on the sponser. I love Idea and I wish I could use Rider. My plan was actually to try to grow on CZcams until I can get into the partner program with them. I'd love to get a license but I'm damn cheap. I actually just put out a video of my own, where I shouted you out for the Async/Await video.
    BTW I am blown away you only have just under 9k subs.

  • @ZbigniewCebulaDev
    @ZbigniewCebulaDev Před 2 lety +1

    Very nice IEnumerable video, a lot of junior programmers that start working with me ask about Linq stuff.
    Unfortunately I'm pretty busy very often so it's nice to have video like that to share with them and show the basics.
    I would love to see more Linq usage and explanations videos in the future.

    • @Tarodev
      @Tarodev  Před 2 lety

      I'm honoured you'd refer your underlings to me ❤️

  • @xanaramus
    @xanaramus Před 2 lety +1

    Your videos are already quite good quality tutorials. Would like to see more advanced tutorials about networking and ecs, also writing native plugins is something i struggle always. P.S Rider is best IDE for unity, would be great to get one! Thanks for your work man!

  • @DanteDxD
    @DanteDxD Před 2 lety +1

    Hey! Very cool video!
    My suggestion would be a video with some optimization and memory managing tips, or maybe you can do that with a series of Short videos :)
    I love Rider, I've trying it out for a couple of months with an student licence and it's just great, so a propper licence would be awesome for releasing some cool games

  • @szymonsadowski3632
    @szymonsadowski3632 Před 2 lety +1

    Great video as always Taro! Would love to see video about interfaces or scriptable objects. Your use cases always make topics clear for me so Im sure it would be helpful even tho there are videos about those topics.

    • @Tarodev
      @Tarodev  Před 2 lety

      So many suggestions for SO. I better get on that!

  • @lukasostar3008
    @lukasostar3008 Před 2 lety

    oooooh would love to get me a Rider licence
    so, loving the video, would love to see more of these kinds of deep dives into devery-day using things we (well, *I*) take for granted
    in any case, keep doing what you're doing
    cheers

  • @bini7203
    @bini7203 Před 2 lety +1

    Loved the video as always :)
    Would love to see some networking concepts explained by you in your hands-on style!

    • @Tarodev
      @Tarodev  Před 2 lety

      Do you have a library preference? Mirror, photon, 'built in'?

  • @Xavaltir
    @Xavaltir Před 2 lety +1

    Wow i literally learned about this topic 2 days ago, nice to see you posting a video about it too, was extra helpfull! I would want one of these licenses and i already posted this on a previous video but it would be nice if you showed us how a hexagonal axial/cube coordinate system works and how to convert from worldpos to "code" positions

    • @Tarodev
      @Tarodev  Před 2 lety +1

      That's some heavy math! I have a little bit of hex code on my pathfinding repo if you want to check it out. But yes, that's a good idea for a video.

  • @goldenage9376
    @goldenage9376 Před 2 lety

    Hi Taro, I just learned about you channel. Currently working with enums, so this seems really helpful! For other challenges I am facing I see you have covered many of them in your other videos, so i couldnt come up with new ideas, but more work for myself to check them all out :) My friend is helping with coding and was considering Rider, so it wouldnt be for myself. Keep up the good work! [edit] liked and subscribed!

  • @Tharky
    @Tharky Před 2 lety +4

    Hi Taro! I don't want the licenses, I just want to say I love what you do. For a long time I've been looking for a channel like yours, a non beginner, intermediate level tutorials to take my development a step higher. Even if I know the topic, I always learn something new from your videos. Thanks for making them available for free and congrats on the sponsorship.

    • @Tarodev
      @Tarodev  Před 2 lety +1

      Thanks so much Tharky! Glad I could still teach you something ❤️

  • @UpcomingAssassin
    @UpcomingAssassin Před 2 lety +1

    Great video! Would have helped me a lot a few months ago when I was looking for how to work with these interface!
    One thing I'd like to point out is that you didn't mention the potential garbage you *might* generate when using Enumerators, especially custom ones. From my knowledge most common C# collections don't generate garbage when ForEach-ing them, but some do so, it'd be important for people to know!
    As far as future content goes I'd like something network related, e.g setting up and using a few popular frameworks (PlayFab, Nakama, Photon, Unity's recently announced similar thing, etc)

  • @Chen_Ash
    @Chen_Ash Před 2 lety +3

    I really want to see a modular strategy pattern character ability system.
    Where you can create different effects and stuff using polymorphism/inheritance.

  • @firatkucuk
    @firatkucuk Před 2 lety +1

    Coming from Java world and find C# syntax really handy. Nice video to learn very basic of C#. In general I use Linux. tried rider and unity works perfectly fine on Linux.

  • @xarcader
    @xarcader Před 2 lety +1

    Lovely and very informative, I have been using IEnumerator for some time and I had no idea about these... Thank you for sharing your knowledge on these... The one I would like to learn in the future is accessing the explorer from the application mobile/windows/mac and saving and loading the files in the Android or iOS

  • @haim96
    @haim96 Před 2 lety +2

    I really like the fact that it's not all about Unity but also really good general c# coding tips, it really helpful in my daily job as well. so thanks! for future videos, i would like to see tutorial about the burst compiler, job system and multithreading in unity.

  • @nirast2561
    @nirast2561 Před 2 lety

    Great breakdown of how IEnumerable/IEnumerator works, wish we had something like this in Uni. I'd love to see how the Unity renderer works, mainly for 2D sprites.

  • @divainsyoutube4254
    @divainsyoutube4254 Před 2 lety +1

    Great content! Thanks for sharing! As for someone whom sometimes watching on a phone, I'd love to recommend to make your text bigger so it'll be easier to see.
    Keep it up :)

  • @anass9157
    @anass9157 Před 2 lety

    Hey, thanks for the wonderful video and very useful information,a lot of developers do not understand well the meaning of the IEnumerable and this may lead to many Performance issues. I would like more videos about Rider and or resharper and how you are using them to refactor existing code?
    I would definitely enjoy following these videos.
    Cheers

  • @wvaviator3408
    @wvaviator3408 Před 2 lety

    Thanks for the awesome content! I would like to see a video tutorial regarding Unity's Jobs and Burst and how it can speed up certain operations and maybe even some examples of the types of operations it can do.

  • @Altair8113
    @Altair8113 Před 2 lety +1

    Another great video! Thanks for the hard work.
    I would like to see either a Stack/Heap video or common design patterns used in Unity video in this channel.

  • @washynator
    @washynator Před 2 lety +1

    You make some pretty cool videos, this one included! What I'd like to see is some useful use cases for LINQ specifically for Unity devving! Let's hope for a nice Rider license! :D

  • @hamedbabamohamadi9017
    @hamedbabamohamadi9017 Před 2 lety +1

    Nice job as always man. Tnx for this amazing video.
    Unity Input System could be a nice topic, there are some videos about it, but they are making it complicated.
    Addressable assets too.
    Nice ice cream truck man :))

  • @xDumberx
    @xDumberx Před 2 lety

    Great videos about advanced stuff :) I would like to see a video about observer pattern in Unity. Maybe something about building your own event system.

  • @Tarnil97
    @Tarnil97 Před 2 lety +1

    As a game developer, enumerables are a really, really big part of what I'm doing. Great work on putting people up to speed with them. I think a topic for a video related to enumerables (and LINQ) would be extension methods in C#.

    • @Tarodev
      @Tarodev  Před 2 lety

      Extension methods is a good topic! Could be a relatively quick one too

  • @schleooo
    @schleooo Před 2 lety +1

    I'd love to see more videos about performance/profiling, since this is what I am struggeling the most with. I considered investing in rider, since it seems like a great code editor. I'd be very happy to win a licence :)

  • @taco_prime
    @taco_prime Před 2 lety +2

    I’ve used Rider for UE4 and Unity, and there is no IDE with the same engine integration so please enter me in the Rider drawing.
    You should do a full LINQ tutorial next. I’ve only ever seen them as examples in lambda tutorials. You haven’t covered delegates/actions/funcs yet, or using them with the event keyword for protection. Those could be good. Or maybe a way to use indexers to keep track of how many of something are spawned. Keep doing more advanced coding topics that not a lot of other channels cover. Also explaining the whys and whens is rare, but explaining the gotachas are even more rare I think, but super useful, and you're great at that.

  • @dinobyte3010
    @dinobyte3010 Před 2 lety +2

    Just finished the video, thank you so much for breaking it down into digestible chunks! I'm really enjoying your style on CZcams, you've filled the Brackeys size hole in my heart and then some lol If possible, would you be up to doing a video on delegates? Specifically Action and Func and how they can be used to pass information around your game? There are other videos, but they kinda expect you to have a solid grasp on delegates in general. I'd love to get a license key too, hopefully I'm lucky lol

    • @Tarodev
      @Tarodev  Před 2 lety +1

      I can indeed make that video!

    • @dinobyte3010
      @dinobyte3010 Před 2 lety

      @@Tarodev Heck yeah! Thanks so much man! I'm looking forward to it

  • @asztrik
    @asztrik Před 2 lety

    I love the variety of this channel, it would be cool to see another video similar to your Celeste controller ones where you try to replicate a mechanic (I like in those how you tried to code it as the Celeste devs did!). I'm not sure what other "big" indies have public source code but you can always try to replicate something you really enjoy in a game, we'd love to see that. Also I'm interested in the Rider license please :)

    • @Tarodev
      @Tarodev  Před 2 lety +1

      I'm so glad you said this! My devlogs did not do very well, but I seriously enjoyed making them.

  • @notDiru
    @notDiru Před 2 lety +1

    Its incredible how modular this seems to be like, never imagined its possible to create all those possibilities with enumerators even if i don't understand it entirely creating your own behaviour of how list should be treated seems amazing!
    Also i'm very interested right now on animations and how to do that drift of animal crossing when you tap the opposite side you're walking or when in metroid dread change your direction suddenly. Thank you for sharing those rider licenses 😘😘😘

  • @Pedro_Marangon
    @Pedro_Marangon Před 2 lety

    I would love a video about serialization and applying that in games. Most of the videos on the topic go on very simple examples and I'm kind lost when trying to put that in an actual Unity game, like what to save and where to put the code (i know that this changes from game to game, but some more concrete/realistic examples would help a lot). Your videos indicates me that you're the guy to help me out on this 😉 (also that Rider license would help me a lot, since I can't afford it and I've been wanting to use it for quite a while)

  • @MrSpeedyDev
    @MrSpeedyDev Před 2 lety +1

    Loved the video I would love to see something on multithreading and multi processing in Unity. I have used IntelliJ for Java before and Rider would be amazing for Unity their themes and layouts are amazing.

  • @Agnamador
    @Agnamador Před 2 lety +1

    Very good video. A good one would be about network or something like it

  • @bunggo9914
    @bunggo9914 Před 2 lety

    your vids are the best, it's hard to find intermediate/advanced content these times. I would like to see some vids about 2D random procedural generation (like terraria), please.

  • @lucavolpato4134
    @lucavolpato4134 Před 2 lety +3

    Learning how the foreach loop actually works is pretty cool, thank you for the video. As I'm building my portfolio I'm trying to re-create old videogames, so it would be really cool if you do a video like "create 2048 in unity" with other games too, like tetris! hopefully I get the rider license too, since I've only tried the beta version for Unreal engine (far better than visual studio, I was astonished). Keep on the great work!

    • @bunggo9914
      @bunggo9914 Před 2 lety

      he already has a 2 part video about how to create 2048 in unity

    • @lucavolpato4134
      @lucavolpato4134 Před 2 lety

      @@bunggo9914 oh yeah I know, I said a tutorial like that on another game :)

  • @Alljoker2
    @Alljoker2 Před 2 lety

    Because of videos like these I have gone from never touching c# 6 months ago, to now actively developing a unity game as well as a discord bot in c#. Thank you thank you! Also video idea (which I've mentioned in one of your community posts) is for a deep dive into your extension methods class and what extension methods you find yourself using often. (you've done one about specific unity methods, but seeing your knowledge of c# I think it would be helpful to just see general extension methods you use) much love. Thanks again!

    • @Tarodev
      @Tarodev  Před 2 lety +1

      I do love your idea about extension methods. It'll probably be a general lesson on them with a few use cases and useful extension.

    • @Alljoker2
      @Alljoker2 Před 2 lety

      @@Tarodev I appreciate the acknowledgement. No rush at all, I've been enjoying everything you have been cranking out so if it takes a few weeks or months I'll enjoy everything in between.

  • @CrystalClod
    @CrystalClod Před 2 lety +1

    I've been using enumerators and enumerables for ages, but haven't actually tried making a custom one before, so this vid was quite informative to me.
    For future videos either Addressables, or maybe something about shaders?
    As for Rider, I'd love to try it out.

    • @Tarodev
      @Tarodev  Před 2 lety +1

      So many requests for addressables. I'll have to get on that! Glad I could teach you something Crystal :)

  • @LucaFang
    @LucaFang Před 2 lety +1

    Nice explanation! I would be cool if you'll make a video about how LINQ works under the hood :)

  • @TimGardhouse
    @TimGardhouse Před 2 lety

    Great choice of examples here. The gotchas are a good thing know!
    I'd like to be in the running for a copy of Rider. I've used up my free trial and it was just a different world of programming.
    Future video ideas: More areas of C# that are a bit more intermediate/advanced, with potential gotchas. More of your preferences for Unity tools you find essential (like DoTween - that video led me to your channel). I'll also second the broader architecture/structure idea.

  • @lfcamacho
    @lfcamacho Před 2 lety +1

    I love your channel! your videos are some of the best our there for unity developers that are past beyond the super basic tutorials that you find on youtube... which is pretty much all you find when you search for something...
    I haven't watched the totality of your videos so if you haven't already, could you make one about dictionaries? how to implement them in an inventory system?? ...or how about additive scene loading? ...and maybe one about hashsets?
    Thanks in advance! :D

    • @Tarodev
      @Tarodev  Před 2 lety +1

      I've used them a few times in some videos but never really talked about them properly! Maybe a video on general collection types could be good!

  • @tamertnaz6273
    @tamertnaz6273 Před 2 lety +1

    I would like tasks, Job system, Dots, Shader Graph examples, especialy Unity Gaming Services. Particularly if it could be a series on how Unity game service can be used

  • @kuruchy
    @kuruchy Před 2 lety +1

    Really cool video! I really think Rider is the best IDE, I came from android dev and using Android Studio and intellij, so switching to it is seamless. I would love to see some video about custom editors for unity ;)

  • @metsker4876
    @metsker4876 Před 2 lety +2

    We love your tutorials, senpai < 3
    Can you teach us about server part in the future?
    I'm already using Rider for almost a year and it's beautiful, but my lisence will end up soon, so...

    • @Tarodev
      @Tarodev  Před 2 lety

      As in a general game server for storing player data? This would include user authentication at the very least. I'm not against it as I love making backends, but it'd be a long series

  • @krissloo143
    @krissloo143 Před 2 lety +1

    Wow
    That can make my already existing code way shorter :) thank you for the great stuff

  • @_g_r_m_
    @_g_r_m_ Před 2 lety +1

    Please more advance C# content, i'm learning a lot, I would also like some content on optimization, maybe binary trees.

    • @Tarodev
      @Tarodev  Před 2 lety

      Binary trees are super fun and a great video idea. Thanks for the suggestion!

  • @mr.miagton8475
    @mr.miagton8475 Před 2 lety

    Nice video as always !Glad your making some advanced C# topics .I just hited my first real job as Unity Developer and founded your channel super useful and fun to watch.I would like to see both C# specific topics and Unity dedicated onces.Lets say ,maybe some editor tool development hints😅My current project is porting one of the awesome tools to Unity ,so yeah ,editor scripting ftw)Aslo yeah,Rider is awesome,I would be super glad to get one of those year licenses as atm I bought only 1 month sub licence to check it out)

    • @Tarodev
      @Tarodev  Před 2 lety +1

      That is awesome man! Congrats on the game dev job

    • @mr.miagton8475
      @mr.miagton8475 Před 2 lety +1

      @@Tarodev thx a lot😅Imagine it after being chief flight attendant for 7 years 😂

    • @Tarodev
      @Tarodev  Před 2 lety +1

      ​ @MR. Miagton Hah! Bit of a shift in lifestyle. I hope you love it!

  • @GameDevNerd
    @GameDevNerd Před rokem

    If people are interested in it, I back-ported some .NET 5 - 7 features to old Framework 4.X and Standard 2.X runtimes (so it can be consumed in Unity properly) that makes List iteration between 3 to 5x faster and absolutely crushes the regular "foreach" and "for" loop patterns. I've been thinking of making a video about it, although it is a very advanced subject involving IL assembly language and low-level rules and behaviors of .NET/Mono runtimes. Actually using the DLL I created to iterate Lists faster is super easy though, anyone can use it and it barely changes anything in your code, it is just the technical details of how it was done to bring the feature to older runtimes that's really esoteric and advanced stuff that I'm not sure people would watch ...
    By the way, Taro, instead of "List list = new List() { ... };", or using the var keyword as most people do, I've found it's much, much cleaner and more readable to do this:
    List list = new() { ... };
    In C# 10 you don't need to repeat the type name twice on both sides of the expression, just once on either side (the right-hand side for var assignment, the left-hand side for the new() assignment). It's really nice because it's super easy to refactor and cuts down on typing, so you get the succinct, short-handedness of the var keyword, the clarity of explicitness and a greater level of refactorability/flexibility you don't otherwise get.

  • @Arkham74
    @Arkham74 Před 2 lety +1

    I'm using c# for while but I didn't know about the enumerables executing only when iterated. Video was very helpful, thanks!
    In next video I would like to see you talk about garbage collection. What it is and how it works? When new memory is allocated? How to reduce unnecessary allocations?
    I was using rider during evaluation period but it ended few months ago :(
    Return to visual studio code was painful. Getting license for whole year would really help in my work.

    • @allenhalsted4895
      @allenhalsted4895 Před 2 lety

      >>When new memory is allocated? How to reduce unnecessary allocations?
      While that would be an interesting subject, unfortunately there is not a lot you can do. For the most part, the .NET Framework handles that automatically. There are some flags you can set in the compiler, but they are really just suggestions. In a .NET Windows environment like ASP.NET, you can do some tweaking, but I have never seen a way to do anything with it in Unity.
      Garbage collection on the other hand is an important subject to understand. The .NET Framework does a pretty good job of managing this, but you can still back yourself into a corner by not understanding how things work.

  • @ragerungames
    @ragerungames Před 2 lety +1

    Cool!

  • @aprilance
    @aprilance Před 2 lety +1

    A very good video like all your other videos. You explained it very well. It was very useful content. In the future, you can focus on the editor codes if you want. We can make beautiful tools.

  • @aidencran1966
    @aidencran1966 Před 2 lety +1

    I'd love to see a video on interfaces :), and perhap any good practices when using them!
    (also I do be interested in rider 👉👈 :))

  • @atabekkasimov9702
    @atabekkasimov9702 Před 2 lety +1

    Deep dive! I'd like to have a Rider licence, it is one of the best tool out there.

  • @RichardTongeman
    @RichardTongeman Před 2 lety

    Thanks for another great video! I'd like to see a video about controlling shaders with scripts and GPU instancing. I would love to use rider my license just ran out!

  • @qnet1080
    @qnet1080 Před 2 lety

    Спасибо, отличное видео

  • @kalkatos
    @kalkatos Před 2 lety +1

    Thank you for your content, I've been learning a lot since I found your channel on YT.
    I've watched a video recently about Records in C# and would like to know if they are available in Unity and if they are useful for games. That may be a good subject for a video.

  • @MMOmaster35
    @MMOmaster35 Před 2 lety

    Very good video. Even though I already knew the contents of this video I would definitely love more videos about potential pitfalls in C# and Unity that I might no be aware of. I would love to get a license to rider and wish everyone best of luck on the give away.

  • @SirDMX
    @SirDMX Před 2 lety

    A very helpful video as always. I would love to see tuts about Scriptable Objects

  • @raingamedev702
    @raingamedev702 Před 2 lety +1

    Hi, thanks for the video! Would be nice to see practical examples related to gamedev/Unity. Also please consider topics related to interacting with VFX / Shader graph from C# script (it isn’t covered that much). Thanks again!

    • @Tarodev
      @Tarodev  Před 2 lety

      You're right, I haven't seen much on the interaction between the two. Good suggestion!