Learn C# Intermediate FREE Tutorial Course! [2024]
🌍 Get the Premium Course! cmonkey.co/csharpcompletecourse
💬 Learn by doing the Interactive Exercises and everything else in the companion project!
🎮 Play my Steam game! cmonkey.co/dinkyguardians
❤️ Watch my FREE Complete Courses • Learn to make Games wi...
🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses
👍 Learn to make awesome games step-by-step from start to finish.
🎮 Get my Steam Games unitycodemonkey.com/gamebundle
🔴 RELATED VIDEOS 🔴
Learn C# Beginner FREE Course! • Learn C# Beginner FREE...
Learn Unity Beginner/Intermediate 2023 (FREE COMPLETE Course - Unity Tutorial) • Learn Unity Beginner/I...
Learn Unity Multiplayer (FREE Complete Course, Netcode for Game Objects Unity Tutorial) • Learn Unity Multiplaye...
My Game Dev Journey (40+ Games! | mIRC to Flash to Steam) • My Game Dev Journey (4...
Day in the Life of a Game Dev and KZreadr • Day in the Life of a G...
How much MONEY my Game made (and how much it cost!) • How much MONEY my Game...
Ultimate Unity Overview (70 Tools and Features Explained!) • Ultimate Unity Overvie...
💬 Here is a FREE video with all the Video Lectures for the Intermediate section of my complete C# course!
We're going to go up one level relative to the Beginner section and learn about things like Interfaces, Generics and Events. As well as some Shortcuts and Design Patterns.
Learn all about those topics and then put it all together in the final Intermediate Project.
If you enjoy this FREE video check out my Premium version of the course with a bunch of nice bonuses like Interactive Exercises to help you LEARN BY DOING!
📝 Some Links are Affiliate links which means it costs the same to you and I get a nice commission.
🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!
✅ store.steampowered.com/app/12...
00:00:00 Intro
00:06:26 Intermediate Intro
00:07:39 Intermediate Overview
00:11:08 Visual Studio Shortcuts
00:27:39 Refactoring
00:30:01 Enums
00:37:53 Properties
00:44:51 Multi-Dimensional Arrays
00:52:46 Nested Loops
00:58:42 Recursion
01:04:12 Dictionary
01:12:45 Other Collections
01:18:16 Params
01:20:55 Optional Parameters
01:25:42 Value Types vs Reference Types
01:34:53 Struct
01:41:53 Class Intermediate
01:59:49 Interfaces
02:11:27 is as casting
02:19:49 Switch Pattern Matching
02:23:03 Delegates
02:34:37 Local Functions vs Lambda
02:38:14 Events
02:52:51 Generics
03:03:48 Constants Readonly
03:08:32 Try Catch Exceptions
03:15:36 IEnumerable
03:24:15 Namespaces
03:28:27 Singleton Pattern
03:38:22 Design Patterns
03:42:43 Intermediate Project
04:07:40 Outro
If you have any questions post them in the comments and I'll do my best to answer them.
🔔 Subscribe for more Unity Tutorials / @codemonkeyunity
See you next time!
📍 Support on Patreon / unitycodemonkey
🎮 Grab the Game Bundle at unitycodemonkey.com/gameBundl...
📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php
#csharp #programming
--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.
I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.
--------------------------------------------------------------------
- Website: unitycodemonkey.com/
- Twitter: / unitycodemonkey
- Steam: store.steampowered.com/develo...
Пікірлер: 245
💬 Here is a FREE video with all the Video Lectures for the Intermediate section of my complete C# course! I hope you learn a lot! 🌍 Get the Premium Course! cmonkey.co/csharpcompletecourse ✅ Learn by doing the Interactive Exercises and everything else in the companion project! Learn C# Beginner FREE Course! kzread.info/dash/bejne/ooaZtJiTadWxXdI.html Learn Unity Beginner/Intermediate 2023 (FREE COMPLETE Course - Unity Tutorial) kzread.info/dash/bejne/c6F7taeBZ7TJdMo.html Learn Unity Multiplayer (FREE Complete Course, Netcode for Game Objects Unity Tutorial) kzread.info/dash/bejne/aZugpdV_acncY9Y.html My Game Dev Journey (40+ Games! | mIRC to Flash to Steam) kzread.info/dash/bejne/Yq6nxbKfj7iXhrw.html Day in the Life of a Game Dev and KZreadr kzread.info/dash/bejne/g616u6qBYJPeqJc.html How much MONEY my Game made (and how much it cost!) kzread.info/dash/bejne/mZtnutSvZ827pM4.html Ultimate Unity Overview (70 Tools and Features Explained!) kzread.info/dash/bejne/ia6elrGeoczdcdI.html
@skinnyboy996
Ай бұрын
Where can we find assets for the course?
for the persons that actually went ahead and bought the intermediate course i want to say thank you. Even though you guys probably didnt mean it, i still want to thank you. Also, mister CodeMonkey dude...i want to thank you also cause you didnt have to do this at all. A round of applause for all the humans that made the intermediate course free.....*clap clap
@CodeMonkeyUnity
Ай бұрын
Thanks! I hope you learn a lot from this video!
@alexanderkulaev541
Ай бұрын
Totally agree, my man!
Code Monkey is the saviour of unity tutorials.
@CodeMonkeyUnity
Ай бұрын
I hope you learn a lot!
@totallynothyper964
Ай бұрын
Our new Brackeys
@alexanderkulaev541
Ай бұрын
And we are his apostles!
@Nounsi_Dev
Ай бұрын
@@totallynothyper964or our unique and only codemonkey. Brackey is awesome for beginnung level but as u get close to intermediate, codemonkey helps u with clean code and conplex program structures
@SLaKMaNiTy
Ай бұрын
@@totallynothyper964 If Brackeys had good coding practises :P
Respect for not claiming "Master c# as a master sensei with this 2h course" I really love how you keep it real, unlike a big bunch of creators out there.
@zach....
Ай бұрын
Dude's got integrity, for sure.
I really cannot believe what an awesome resource you are for both Beginners and seasoned devs too Kudos to you man!
Seeing this... I guess that your bet actually worked out! good for you man :) and may God repay this kindness of actually dropping the second part of this colossal tutorial.
As a software developer, I've dedicated countless hours to grappling with challenging concepts. However, your explanations is very easy to understand, making even the most complex topics accessible with clear examples. Thank you for your clarity and simplicity. Hope every software developer can learn from this video not only unity developers.
Thanks this 8 year unity dev learned a few things!
I was really needing this. I appreciate everyone that made this possible. I thank you for making the video free. I cant wait to dissect this video
I'm so glad you're doing this! I've tried in the past, while getting somewhere, adventually I just ran into issues were I couldn't find much useful info
Thank you a lot! you're one of the best references for coding C# in general that I have, hope to see more of your C# and Unity videos. nice to have you around!
I've been searching for intermediate level C# tutorials recently and hadn't really settled on any to try yet, so I was very happy to see this video posted today! Looking forward to going through the whole course/video.
Thank you for yet another great contribution for the game development community! I really hope this series saves other newbies even more than your old C# playlist saved me back then. As for me, I'm happy to find that I'm familiar with all of the topics considered intermediate in this video, and I'm looking forward to seeing what crazy things can be achieved in game development with the advanced C# topics!
Been looking forward to this video, appreciate it. ^^
You are absolutely the best! Thank you for all the tutorials and knowledge you provided and continue to provide!!
This is just AWSOME! For me personally, the timing, since this is exactly what i was looking for lately and fits perfectly as a follow-up or even parallel clarification course to the other two courses (while this one is free again!!!) I really think this will make the understanding of the slightly more advanced parts of c# much easier, and apart from that, its great that you made a more universal, overarching course on c#, with a lager scope than just on unity! Hopefully this course will get the attention it deserves with it being free!
Thank you sir !! ❤ Much appreciated!
It was nice, I'm gonna wait for the advanced version of this. I hope you can continue to produce videos about this kind of complex topics. 🙏
I needed this thank you!
Thank you so so much for this course. You are God sent!
I have been using C# for almost 15 years and learned some new stuff that I didn't know before.
@CodeMonkeyUnity
24 күн бұрын
I'm glad to hear that! Thanks!
Thanks, Your a champ. I also Appreciate the DOTS Tutorials you do.
Wow! Thank You CM. 😮😅 I didn't expect you to create another Free Course... now this one being for the Intermediate so it gets more interesting (in my opinion). I could use this one to review and support my knowledge. I will buy you a Subscription during May, to support you and thank you in a more concrete way.
Wow thank you so much this is definitely something I'm going to use to get a better grasp of these concepts!
I started to learn game dev & man this is a treasure. Still on beginner video but still this gonna help a lot!. Thanks code monkey highly appreciate what you are doing & also thank you all people who supports him by buying his courses. I'm in a position where I can't afford to pay for courses. Free courses like these are gems for me. But I'll repay this definitely once I start to earn some money. Again, Thanks a lot!
@CodeMonkeyUnity
Ай бұрын
I'm glad you're learning a lot! Keep at it!
Thank you so much, I'm trying my best to support you.
Thank you! I really admire your motivation to do make all the tutorials and courses you make! During the last couple of months, I really learned a lot from you, and watching the Dinky Guardians dev vlogs and actually playing the game, gave me motivation to try and make my own game.
@CodeMonkeyUnity
Ай бұрын
That's awesome! Best of luck with your game!
This is too good! Thank you
Thank you for posting the whole course module for free! Invaluable. You're such a generous teacher.
Still on your multiplayer course and it super helpful. Honestly i learn a ton of stuff from your video + reading document myself help me learn everything much easier
Funny I was just looking up intermediate courses recently and you end up posting this, awesome! Thank you so much sir.
Really good course for where I'm at! Thanks!!!
All very good! Thanks! Alt + arrow up/down moves a line
Thanks for this course. It helps a lot!
Thanks man. I am using unity since 2019 but there are still have some simple c# concepts I don't know. Love your work 🤩❤
Bro dropping yet another banger that I will be spending weeks watching 🔥 thank you!
Thanks for your Work Sir !!!
Thanks so much for this CM.
Wow! Thank you
Thank you for helping !!!
HI you can use Alt + up/down To Move some line and Ctrl + k+ d to organize code and Ctrl + k+ s for make if ,for and etc
You are great man.
Perfect thank you for this
I knew most of it, but there was still some really helpful stuff in there! Especially the VS Shortcuts and the extensions will save me tons of time! Thank you very much! Amazing video and you upload it for free! Hero
@CodeMonkeyUnity
Ай бұрын
I'm glad you learned something new! Thanks!
"How long it takes you doesn't really matter. All that matters is learning." I wish school teachers were as enlightened as you are.
Much appreciated ❤
Thanks for sharing!
I've been waiting!
I really appreciate these videos man! These videos will help me tremendously through my Games development degree course at my university! Hopefully these skills will also be transferable as well once i finish!
@CodeMonkeyUnity
Ай бұрын
I hope you learn a lot! Best of luck in your learning journey!
This Video is Very Very useful i learn many think in this video Tanks for this Video Bro! ❤
With having that much of knowledge and sharing it for free is a huge benefit those who cant even afford the course, I can't thank you enough, you're the true teacher!
Great way to procrastinate from my C# dev job thank you!
My favourite shortcuts are missing here: Move Line Up/Down: ALT + UP/DOWN Format Document: CTRL + K + D Misc: Show Suggestion: CTRL + . Thanks for this course! There are quite some topics I need to learn more about or don't know anything about.
😭💓💖thank you,from the bottom of my heart!!
Wow! Its really cool! ❤
what an excellent video drop. way to go CM :)
You're legend! I am so thankful for all you did for me... ❤❤❤
thank you so much❤
thank you !!!
you are awesome man😍❤️
Thank you for releasing these videos, I really want to buy the premium version as I feel it will help me a lot with my learning, but unfortunately, I am currently a full time university student and only work 2 days a week, I barely have enough money to survive, but, I am slowly getting there with savings because I really would like to buy the course, but these videos help to bridge the gap.
12:50 if you want to cut a line of code you can just ctrl+x with nothing selected and it will cut the line that the cursor is on, doesn't matter where the cursor is.
Thank you
That ctrl up and down is great, it's something that's bothered me a lot too. I had to go in and unbind the default bindings for ctrl + up and ctrl + down for it to work though. (They were set to move the page up or down by one line without moving cursor, which does not seem nearly as useful.) I wouldn't have figured out setting it up like that myself, would have had to do it in autohotkey. Thanks for the idea and way of doing it! (Edit: Would be even better if it worked with shift) (Edit2: I guess that's bound to something else already, but still.)
If the Visual Commander is not functioning as expected, specifically when using the Ctrl + Up or Down arrow to move six lines up or down, ensure that the shortcuts for Edit.ScrollLineUp and Edit.ScrollLineDown have been removed.
Thanks so much. I really love your teaching methods, i learn a lot. I really wish someday i could afford the premium package, for me now its out of the range, it cost as much as average wage of Indonesian, worth as 250 plate of meals, for now i will learn through your fee courses. Many thanks❤
Thank you so much I don't know what to say I'm waiting for this from the beginner part , I was in a tutorial hell before and most of the tutorials are great like yours but the issue is there is the example they use in their code that are not related to games so . I lose my attention from time to time but I watched your beginners part and practice that every day now I'm ready for this and sorry I don't have enough money to purchase this course 😢 , thank you so much 😊
@CodeMonkeyUnity
Ай бұрын
That's awesome, I hope you've already learned a ton!
Truly you are the GOAT of all YT devs
Thank you!
@CodeMonkeyUnity
Ай бұрын
Thanks for the super thanks! I hope you learn a lot!
thanks really
not even my computer science university was able to offer such complete courses ngl, i love u man
on the Visual Studio Shortcut lecture, you can also use TAB to auto complete. Also just try holding Alt and pressing an arrow key. EDIT Something to note is in the casting lecture you talking about using `if (myInterface is Player)` then you have `Player player = (Player)myInterface` But to save some time you could instead use. `if (myInterface is Player player)` and the lower case player will be like an out param. It will also not be only contained inside the if statement code block.
@CodeMonkeyUnity
19 күн бұрын
Oh nice one! I've seen that syntax a few times but it seems so strange so I never got used to it heh
Code Monkey I just want to say thank you, and how much I appreciate all the effort you put into your content, It really has made my game dev career less frustrated. I would like to ask you a request, would it be possible for you to make a video explaining why learning to code is easier than using visual scripting solutions, like PlayMaker for instance? I have been trying to learn code for the past year and I just can't wrap my head around it, I don't know what the issue is but I get brain fog just by staring at a bunch of lines of code. Again, appreciate it man!! ❤
@CodeMonkeyUnity
4 күн бұрын
Thanks for the kind words! Both are valid options, it just depends on what kinds of games you want to make. If you want to make relatively simple games then you can absolutely build it all with just visual scripting, I have a course where I made 3 different games using nothing but Visual Scripting kzread.info/dash/bejne/o3Wfx6V9h8q2hqQ.html Alternatively it can also be a great tool as a stepping stone for learning programming since you need to learn logic for your visual scripts to work. and after learning logic it is easier to learn programming. Also keep in mind code is an inherently complex skill, so it's perfectly normal to take some time to learn, remember how I've been writing code for 25 years, I definitely did not have the skills I have now when I got started. So yup give visual scripting a try!
Thanks for making this available for us. Delegates were a little tough, but went down easier after the Events section. Only part I felt was a bit much to chew was the IEnumberable section. I will go over it again in a few days and see how it ages.
@CodeMonkeyUnity
Ай бұрын
IEnumerable is indeed a bit tricky, the syntax still confuses me to this day, I always have to do a quick google search to remember how it works.
Thank you.
You are the fking best, you always surpise us. thnxs a lot for all you do
A High Quality content 100% Free for you guys, this is gold!
I love you. You will save my career!
thank you.
I love that there are people providing people with free education! Well done!
@CodeMonkeyUnity
22 күн бұрын
I hope you learn a lot!
Haven't done the course yet but commenting to tell the algo to push this video. Already followed other learning videos from CM so I'm sure it's good.
@CodeMonkeyUnity
Ай бұрын
I hope you learn a lot!
i would love it if you make a chapter with tips for debugging in Unity
Sir Thanks a lot
Thanks!
@CodeMonkeyUnity
Ай бұрын
Thanks for the super thanks!
Sweet!!!
Great work as usual. Although I see myself as a Senior Unity developer with a lot of industry experience, I still find value in your videos. They help refresh my knowledge whenever I reach a point where things start feeling dull. Your ability to explain new technologies in a simple way is commendable. Thanks for the great work! I have a quick question. I've always wondered about the purpose of properties. I've never encountered situations where they seem necessary. Variables and functions have always made more sense to me. Could you clarify the importance of properties?
@CodeMonkeyUnity
Ай бұрын
Thanks for the kind words, I'm glad you find my videos helpful! Yeah for me I always tend to use functions/variables as well, personally I am not a fan of how properties mix both together, I think it just adds needless confusion so I pretty much never use them. The only place where I do use them is when making singletons because properties make it really easy to make it with a private set; and public get; But anything they can do can also be done by normal functions/variables, so if you're like me definitely feel free to avoid properties, you don't have to use them.
@moheyaldeenalmardiny82
Ай бұрын
@@CodeMonkeyUnity Thanks for responding, Acutally yes the singleton patern is the only place where it seems logical thanks again
Code Monkey is turning into the Unity Code GOAT (Greatest of all Time) LOL There is a lot put into the course. The exercises are very needed and help me learn.
@CodeMonkeyUnity
Ай бұрын
Thanks Daniel!
@12:43 you can also just press Shift + Delete to cut and Shift + Insert to paste -- that way you don't even have to let go of Shift after you've selected
@CodeMonkeyUnity
25 күн бұрын
Oh interesting! I knew Ctrl + X and Ctrl + V but didn't know those with Delete and Insert, thanks!
you absolute legend
Thank you code monkey for this video. I am also aspiring to become game developers. I am 17 now and i know unity and c# but there is still many things to learn.
@CodeMonkeyUnity
Ай бұрын
Great job on starting to learn so young! Keep at it!
Finally at the END! Its Awesome! Glad for ya, brother! ♥ But - I would like to use the new knowledge, new skills for my new game.. But - I dont know where and why use specific ideas? I am sure that I am not only one.. But, for example - tell people that - events are great use for attack because.... Dictionary is great use for inventory because... Dont use delegates for these types of activity etc... Also, why and where use specific managers? What code in them? Separete specific one extreme complex script into two or three more volatile scripts? Use always one way of moviving system like in your project at the end of your video or in specific game use different ways of moving? Because there are tons of ways how to make a moving system... ETC.. I was thinking about how to learn these important things.. Yea, I know I can google it.. But as you said - 100 people 100 ways to do it and I would gladly follow ONE experienced BROTHER rather than 2 or 15 maybe less maybe more experienced folks.. For example - Thanks you I learnt that visual and code object have to be separate, a lot of tutorials make them together.. But, what I have in mind - could you start a new series, where people will send you a project of their games and you would just go through it and say - Yea, here I would use Singleton Pattern because... I would use this kind of moving system, managers, class, number of scripts etc... I think that a lot of people would be glad for these experiences... Or how did you learn that... Or at least could you make a series for each activity - inventory, grabbing items from ground, firing etc - and just say - use this for here etc.. ? Thanks!
@CodeMonkeyUnity
Ай бұрын
Congrats on completing the course! Learning how to use the right tool for the right situation is something that comes with experience. For a practical use case you can follow my Kitchen Chaos course kzread.info/dash/bejne/ooaZtJiTadWxXdI.html In there you see how I practically use Events, Delegates, Functions, Classes, etc I've thought about making some code review video but usually those take a mountain of work to set up and organize while also getting almost no views which negatively impacts the channel as a whole, so it's an interesting idea but sadly not doable. But also now that you have this knowledge you can rewatch some of my more complex tutorials and you will be able to see how I used many of these things in practical use cases kzread.info/dash/bejne/fpijq8-zkbycfZc.html kzread.info/dash/bejne/dZiX0Jiue5zNgNI.html The more code you see and the more code you write, the better you become at knowing when to apply those tools. Best of luck in your learning journey!
Code Monkey, you are going to love this shortcut. Maybe someone already mentioned it. If you need to move a line of code up or down you set your active cursor on that line and press ALT and then move that line with up and down arrow keys. You can also move a selection with the ALT + UP/DOWN arrows. It is SUPER helpful.
@CodeMonkeyUnity
Ай бұрын
Yup I know that one but I never really got used to it, I'm already so fast at Shift + Home/End/Up/Down that I just do it the "manual" way automatically. I didn't know it also worked with multi-line selection! Nice!
This course is absolutely incredible! Thank you, Code Monkey. This course is seriously on par with Harvard's CS50 courses. Where CS50 teaches you these topics in plain old C, you're teaching the same topics, with the same level of detail, in C#. I cannot thank you enough for this education, and cannot wait until I land a job in the industry and can afford to pay it back!
@CodeMonkeyUnity
Ай бұрын
That's high praise! Thanks so much!
@ryleybulmer6282
Ай бұрын
@@CodeMonkeyUnity It's well deserved!!
Wow you are a legend
I've been coding in C# for over 20 years and I just wanted to say what you've done here is truly impressive. I'm sure there are plenty of great C# courses out there but coming at it from a game development angle is great. Coding in a game engine is a very different experience than building a website or business application. Of course many of the same skills apply but lots of people start their coding journey though game dev. The level of detail you've put into the course is above expectations.
@CodeMonkeyUnity
Ай бұрын
Thanks for the kind words!
The best 🎉🎉🎉🎉
This is lit 🔥
Nice!
BTW you can use CTR+V the same way without selecting the whole line just like CTRL+X
Code Monkey is GOAT! if anyone is interested I trying to make a tutorial for every unity tool for beginner to advanced and it will be a couple of hours long, it will be published in two weeks.