Learn C# Intermediate FREE Tutorial Course! [2024]
Vložit
- čas přidán 19. 06. 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 CZcamsr • 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...
💬 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! czcams.com/video/pReR6Z9rK-o/video.html
Learn Unity Beginner/Intermediate 2023 (FREE COMPLETE Course - Unity Tutorial) czcams.com/video/AmGSEH7QcDg/video.html
Learn Unity Multiplayer (FREE Complete Course, Netcode for Game Objects Unity Tutorial) czcams.com/video/7glCsF9fv3s/video.html
My Game Dev Journey (40+ Games! | mIRC to Flash to Steam) czcams.com/video/0zscPf_U1VY/video.html
Day in the Life of a Game Dev and CZcamsr czcams.com/video/QyFYHH00xx4/video.html
How much MONEY my Game made (and how much it cost!) czcams.com/video/gg3Xrv7jUtk/video.html
Ultimate Unity Overview (70 Tools and Features Explained!) czcams.com/video/Wzj4OeqiwAo/video.html
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
Thanks! I hope you learn a lot from this video!
Totally agree, my man!
Code Monkey is the saviour of unity tutorials.
I hope you learn a lot!
Our new Brackeys
And we are his apostles!
@@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
@@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.
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'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.
Been looking forward to this video, appreciate it. ^^
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.
I've been waiting!
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!
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!
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!
I'm glad you're learning a lot! Keep at it!
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!
Thank you sir !! ❤ Much appreciated!
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
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!
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.
That's awesome! Best of luck with your game!
I needed this thank you!
Much appreciated ❤
Thank you for posting the whole course module for free! Invaluable. You're such a generous teacher.
Thank you so so much for this course. You are God sent!
Bro dropping yet another banger that I will be spending weeks watching 🔥 thank you!
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 so much, I'm trying my best to support you.
"How long it takes you doesn't really matter. All that matters is learning." I wish school teachers were as enlightened as you are.
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
Perfect thank you for this
Wow thank you so much this is definitely something I'm going to use to get a better grasp of these concepts!
Thanks so much for this CM.
Thanks for sharing!
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.
Thanks Daniel!
Thanks for your Work Sir !!!
I have been using C# for almost 15 years and learned some new stuff that I didn't know before.
I'm glad to hear that! Thanks!
Funny I was just looking up intermediate courses recently and you end up posting this, awesome! Thank you so much sir.
Thank you for helping !!!
Really good course for where I'm at! Thanks!!!
not even my computer science university was able to offer such complete courses ngl, i love u man
Thanks, Your a champ.
I also Appreciate the DOTS Tutorials you do.
You are absolutely the best! Thank you for all the tutorials and knowledge you provided and continue to provide!!
Great way to procrastinate from my C# dev job thank you!
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. 🙏
Thanks for this course.
It helps a lot!
thank you so much❤
Wow! Its really cool! ❤
Thanks man. I am using unity since 2019 but there are still have some simple c# concepts I don't know. Love your work 🤩❤
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.
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!
I hope you learn a lot! Best of luck in your learning journey!
This is too good! Thank you
Truly you are the GOAT of all YT devs
you are awesome man😍❤️
😭💓💖thank you,from the bottom of my heart!!
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.
Great job on starting to learn so young! Keep at it!
You're legend! I am so thankful for all you did for me... ❤❤❤
I love that there are people providing people with free education! Well done!
I hope you learn a lot!
A High Quality content 100% Free for you guys, this is gold!
thank you !!!
Thank you so much! An amazing course to help a programmer in switching to C#. Also, game examples warm the heart.
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.
Oh nice one! I've seen that syntax a few times but it seems so strange so I never got used to it heh
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.
Thanks for the kind words!
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.
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!
The video I wish I had 5-6 years ago🙌🏼
what an excellent video drop. way to go CM :)
Wow! Thank you
This Video is Very Very useful i learn many think in this video Tanks for this Video Bro! ❤
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.)
You are great man.
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!
That's high praise! Thanks so much!
@@CodeMonkeyUnity It's well deserved!!
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
I'm glad you learned something new! Thanks!
All very good! Thanks! Alt + arrow up/down moves a line
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.
Man that IEnumerable part really got me crazy.
Yeah IEnumerable is indeed tricky, every time I want to implement it I have to google to remember how it works
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
Thank you!
Thanks for the super thanks! I hope you learn a lot!
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.
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.
thanks really
Nice!
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.
I hope you learn a lot!
@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
Oh interesting! I knew Ctrl + X and Ctrl + V but didn't know those with Delete and Insert, thanks!
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?
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.
@@CodeMonkeyUnity Thanks for responding, Acutally yes the singleton patern is the only place where it seems logical thanks again
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
Sir Thanks a lot
Sweet!!!
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.
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!! ❤
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 czcams.com/video/qAkeCDWgPVA/video.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!
If you know how to code then you can exercise a greater control over the games you are making.
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 😊
That's awesome, I hope you've already learned a ton!
thank you.
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.
Thanks!
Thanks for the super thanks!
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.
it's here LESSSS GOOOO
you absolute legend
You are the fking best, you always surpise us. thnxs a lot for all you do
I will have to download it and invert the colors but other than that I am eternally grateful 😂
lmaooo fr tho
I love you. You will save my career!
Wow you are a legend