6: How To Create Classes And Objects In C# | C# Tutorial For Beginners | C Sharp Tutorial

  Рет қаралды 266,181

Dani Krossing

Dani Krossing

5 жыл бұрын

In this C# tutorial you will learn to create classes and objects in C#. We use classes as blueprints in order to create many different objects based on these blueprints, and since objects are used all the time you will need to learn about objects.
➤ GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Material for this lesson: / lesson-material-42361704

Пікірлер: 226
@alexnecula
@alexnecula 5 жыл бұрын
I want to thank you very much. Today i got hired as a junior web developer and that's because I watched your PHP tutorials (that's more popular in my area). You made me follow my dreams, you're the best!
@RoxusRemo
@RoxusRemo 4 жыл бұрын
How's the job going man?
@alexnecula
@alexnecula 3 жыл бұрын
@Matt Dobing @Cheesecake S sorry, for some reason youtube did not notify me about any like/reply. The job is still going great. Not working with php anymore but with SAP in the same company. The pay differs from country to country and region to region so I don't think that would help anyone.
@slayer3run
@slayer3run 3 жыл бұрын
@@alexnecula Great to hear that! Keep it up!
@ammangirma3544
@ammangirma3544 5 жыл бұрын
You are the best , i didn't like programming and never understood the concept of classes until i watched this thanks .
@techslugz
@techslugz 3 жыл бұрын
same, his videos really helped me understand the instantiation.
@hjoseph777
@hjoseph777 27 күн бұрын
After watching numerous C# KZbin videos, this individual adeptly explains a complex subject, making it understandable for everyone. He is a gifted instructor.
@waqasmahmood_uk
@waqasmahmood_uk 4 жыл бұрын
I love your way of explanation. You are my kind of teacher who explains basic and doesn't assume that others will pick up the complex concepts easily. When I first listened to you, I thought you must be Danish (Your English accent). Now, I have checked your About which confirms that you are indeed Danish. Thusind tak for fantastiske videoer
@KyleMcKee92
@KyleMcKee92 4 жыл бұрын
Thanks so much for this. So many other videos assume you will understand some random small details but if you don't, you get lost. You explain all of the little details perfectly which has been great for me as a beginner. Thank you!
@elements2202
@elements2202 Жыл бұрын
I can honestly say I got more from this video than I have gotten from a semester and a half of school so far!!!! Thank you so much for the clear explanations. I am pretty sure I am going to be watching all of your C# and Unity video.
@mariastavrou2049
@mariastavrou2049 3 жыл бұрын
You are simply the best, I can’t believe I couldn’t get this in high school but 8 minutes into your video it made perfect sense. Keep it up; also you are incredibly under rated
@ACR995
@ACR995 2 жыл бұрын
I really love that you explain every little piece of the code as you go. Most teachers will just write out a massive chunk of code and then just talk about the concepts when I have no idea what the hell im looking at.
@gortex8383
@gortex8383 3 жыл бұрын
I have used soo many of your video's to learn programming and it has helped me enormously, But I never really left any comment on how much I appreciate your video's. You explain things very clearly and it has helped me progress a lot. Keep doing what you're doing mate. Thanks a lot!
@souravsharma6092
@souravsharma6092 4 жыл бұрын
Great video, simple, effective and covers almost everything that I wanted to be cleared. Thank you
@dereksprogramming3233
@dereksprogramming3233 5 жыл бұрын
Love your approach of teaching. everybody else sounds like Greek. You on the other hand make things simple! Thanks and look forward to your other vids.
@sifisocyprianshezi3824
@sifisocyprianshezi3824 3 жыл бұрын
Mmmmm, I wish I may be allowed to tap thumbs up a MILLION TIMES...!
@UHDking
@UHDking 5 жыл бұрын
I found your channel 3 days ago and I am a fan. Thank you so much when you explain like nobody else with covering security like in your mysqli tuts and other details. Your tuts both good for beginners and pros. You are the best man. Put the donate button! I will donate you 5 bucks for your time. Love that you are covering C# too :-) Thank you, thank you, thank you!
@mirakulous4217
@mirakulous4217 3 жыл бұрын
Thank you so much for this amazing video that has just clarified Classes, Properties, Fields and Methods. Thank you most especially for the diagram at the beginning of the video, seeing a visual representation of what a class is and what it is allowed to contain is Genius! Thank you! Thank you!! Thank you!!!
@mrfashionguy1
@mrfashionguy1 3 жыл бұрын
I just wanted to say you are an amazing person and I owe a lot of my knowledge to you, thank you Daniel
@matrikater
@matrikater 4 жыл бұрын
I wish I had this when I was learning c#, you're great man, keep it up great work!
@Abacoot
@Abacoot 2 жыл бұрын
Thank you. First 2min I knew this is EXACTLY what I needed to remember about C# classes to start mentally thinking about my program. AMAZING!!
@jordanpowell8739
@jordanpowell8739 3 жыл бұрын
Every concept I have learned so far has been explained best by yourself. Thank you for the great content. :)
@mrmarquena9861
@mrmarquena9861 3 жыл бұрын
I forget so much stuff, but you made me remember everything in the video and understand more. I am 14 and you may have just caused me to have a future, im trying to learn to code for thefuture and just as a hobby. You have helped me so much sir, Thank you
@martinmtandi335
@martinmtandi335 3 жыл бұрын
Wow, you are 14 years old and you understand all this. You have a bright future, I can tell you that for sure
@nickfeldman2996
@nickfeldman2996 3 жыл бұрын
As a Masters student in comp sci with only a background in teaching, I have been really struggling learning how to take my application and implementing the program code. Thank you so much for your explanations!
@TheKoms
@TheKoms 5 жыл бұрын
A Literal life saver! Thank you so much!
@indrajitbhattacharyya
@indrajitbhattacharyya 4 жыл бұрын
Absolutely Loved the way you explained each and every details!!!
@MyFirstReurveBow
@MyFirstReurveBow Жыл бұрын
this is the best explanation of classes and how to use them theat i have seen until now and i have seen quite a lot .
@bardaccount5065
@bardaccount5065 3 жыл бұрын
Best instructor and incredibly clear with description and definitions. Thank you!!
@SteveDAgostino
@SteveDAgostino Жыл бұрын
This is the video. Finally. Thank you for clearing this up! Usually I find vids that explain things okay but add too many other concepts in their examples without explaining what they are or why they're being used (and frankly, it would be too much if they did, so it'd be better if they just kept to the bare basics like this). Good job, brother!
@carbogast7498
@carbogast7498 4 жыл бұрын
you really know how to teach Beginners , so easy to understand you don't confuse the person which tries to learn as always HQ stuff sir
@stevenmorales2501
@stevenmorales2501 4 жыл бұрын
I finally understand classes!!! Thank you so much!
@seb_is_class8107
@seb_is_class8107 3 жыл бұрын
Thank you! This is the best C# stuff I've found. Many thanks!
@princemalongo9303
@princemalongo9303 2 жыл бұрын
Classes, instantiation and objects were my nightmares, thanks to you for breaking these three apart.
@anneest
@anneest 4 жыл бұрын
This is a brilliant video and explanation of classes and methods (and field vs property). Thanks a lot! :-)
@remisimeon2075
@remisimeon2075 2 жыл бұрын
This course is so popular Visual Studio already now the entire code before you even finish the video ! Thank you !
@Misslivan
@Misslivan 5 ай бұрын
Dani this example really gave me much clarity on classes and objects, didn't really grasp it until now :') I wanna pursue a career in system dev so i'm definitely watching more of your vids! Thank you
@petarkombov7514
@petarkombov7514 2 жыл бұрын
Thank you very much I just started learning C# in school and I didn't understand classes and you explained ,so thanks.
@glitch4865
@glitch4865 Жыл бұрын
i love how you learn classes before if statements it just seems so backwards and i love it
@BrandonChawane
@BrandonChawane 2 жыл бұрын
This is probably the most important lesson in c# programming
@anadias5664
@anadias5664 4 жыл бұрын
I am from Brazil and I love your way of explanation. Thank you a lot for the video. 👏🏻
@LoraLameh
@LoraLameh 3 жыл бұрын
The best video for explaining classes i have watched so far ! Thanks 😊
@kareemibrahim5860
@kareemibrahim5860 4 жыл бұрын
You're the best. Clear explanation. Thanks and keep it up!
@rajivkurryah6894
@rajivkurryah6894 3 жыл бұрын
Great video for beginners. Explained the concept and terminology of classes so well.
@switkaren
@switkaren Жыл бұрын
You know it's an amazing vid when it can keep me focused for the whole 16 mins or so and afterwards I can say : "I now understand C# ... finally!"
@zedsmelee
@zedsmelee 2 жыл бұрын
Great video, well taught and simply explained for those that have some basic knowledge. Really appreciated :)
@aminamaggang1921
@aminamaggang1921 2 жыл бұрын
This is the best explanation about the concept of OOP. Thanks mate
@Dioums
@Dioums 4 жыл бұрын
First time watching your tutorial...I subscribed right away, that's how good you are!
@queenawzq
@queenawzq Жыл бұрын
thank you so much for making the video, these complex concepts really make sense to me now!
@zoomtomanav
@zoomtomanav 5 жыл бұрын
I am so happy that you started this series. You are an amazing teacher and it gives me confidence now that I can learn C# in best way possible. Thanks so much for your help.
@techtacgaming5627
@techtacgaming5627 4 жыл бұрын
This series was started 8 years ago by TheNewBoston who put lots of hard work and dedication into making them. These are just re-uploads from someone trying to steal credit. It even announces TheNewBoston in the beginning of the video.
@AlvomaniaDK
@AlvomaniaDK 3 жыл бұрын
I am a novice in this world of programming; I look around for way of understanding what is thought at the university, that is how I stumbled into your channel, and you know what? I am having fun with your videos; they make me feel like Hey! I can learn this stuff.
@switkaren
@switkaren Жыл бұрын
Thks so much! Wished my lecturers could explain things this way!
@slashslash92
@slashslash92 2 жыл бұрын
Very straightforward explanation, straightforward to understand as a beginner, very appreciated
@jamiewilson5049
@jamiewilson5049 4 жыл бұрын
Thanks, this helped alot with OOP.
@ausmoons
@ausmoons 4 жыл бұрын
Thank you a lot for the video. Finally I understood this topic.
@ThinkTeky
@ThinkTeky 4 жыл бұрын
Excellent explanation ! Exactly what I was looking for 😊
@hophuoc6660
@hophuoc6660 2 жыл бұрын
Thank you very much Dani, your explaination very carefully, I knew more about what I had learned in school, Hope you make more videos... From VietNam with love
@barataapsii2466
@barataapsii2466 2 жыл бұрын
Just learnt bunds of things from this single presentation. Thank you very much.
@christophermartinez1769
@christophermartinez1769 4 жыл бұрын
Thanks, this is what i was looking for
@youtube-original5943
@youtube-original5943 Жыл бұрын
Thank you Dani! Very well explained lesson!
@Keem_Software_229
@Keem_Software_229 2 жыл бұрын
Man I just subscribe because of this. I just started taking this Udemy course and whenever I need a deep dive into a specific topic I will definitely go back to your channel for that.
@DDThang-mv9mj
@DDThang-mv9mj 3 жыл бұрын
I wish to see this video earlier. Thank you so much for sharing a bunch of information in this video. 🙏
@nissimcohen6811
@nissimcohen6811 2 жыл бұрын
I find your tutorial excellent. Thank you for sharing your knowledge.
@Erikopter
@Erikopter 4 жыл бұрын
Thanks a ton for this video, it cleared a lot for me! Thanks again!
@wouthelsen4931
@wouthelsen4931 Жыл бұрын
Great video, want to learn C# to program in unify bc the only code i now atm is python and pygame isnt that great for making larger games. Thought the transition would be hard but u explain everything verry well, thx.
@sankh8773
@sankh8773 2 жыл бұрын
Thank you so much this really helped me understand the concepts!❤️
@yonaemanuel
@yonaemanuel 4 жыл бұрын
You are a great man, be blessed.
@Belem1994
@Belem1994 2 ай бұрын
Thank you, man! This video helped me a lot!
@djordje3d
@djordje3d 3 жыл бұрын
Perfect knowledge transfer! Bravo
@cucumbert532
@cucumbert532 2 жыл бұрын
You explained it very well, thank you so much
@Emi-hi3xf
@Emi-hi3xf 4 жыл бұрын
Thank you! LOVE IT.
@patrickl2960
@patrickl2960 2 жыл бұрын
You are the best instructor!
@arjunsowmya2896
@arjunsowmya2896 4 жыл бұрын
this is the perfect video to know about class and objects in c# :) :) :) :) :)
@Abdihakim0512
@Abdihakim0512 2 жыл бұрын
Thank you very much, your explanation are really amazing, I subbed, liked, and clicked the bell, glad to have found wonderful teacher.
@s.alihaieri1218
@s.alihaieri1218 2 жыл бұрын
Your video helped me. Thank you.
@papacanfly5639
@papacanfly5639 2 жыл бұрын
This guy taught or explain much more better than paid courses and even better than my OOP C# teacher....
@FuzzyDPozzy
@FuzzyDPozzy 5 жыл бұрын
thank you , very informative!!! So what can i search for to see more advanced ways about classes and objects to get some ideas?
@dacracking5768
@dacracking5768 3 жыл бұрын
I love your explanations.
@athmanmbwana1368
@athmanmbwana1368 4 жыл бұрын
You are a talented teacher, thanks
@jninlove
@jninlove 5 жыл бұрын
What a nice voice for teaching coding!
@aakil-bohra
@aakil-bohra 2 жыл бұрын
Awesome video. Thank you.
@rajgiriyt8494
@rajgiriyt8494 2 жыл бұрын
@Dani Krossing don't meant to demoralize you. You are great. I Was hoping you will do it in two separate class files to create class and object but you didn't.Also I watched you all the way up to end. You are great
@Solanixhanti
@Solanixhanti 2 жыл бұрын
wonderful video i was really struggling with the concept of classes
@jaren_c
@jaren_c 4 жыл бұрын
Perfect explanation.
@oswaldovirto5896
@oswaldovirto5896 Жыл бұрын
Thank you. Liked and subbed!
@zainrajpoot1318
@zainrajpoot1318 3 жыл бұрын
You are best bro. I have subscribed just watching a single video. :))
@AmanuelKindaya
@AmanuelKindaya 25 күн бұрын
you are stunning man .Thank you for your help.
@1997origami
@1997origami Жыл бұрын
Thank you for making this simple and intersting
@checkantetibo
@checkantetibo 2 жыл бұрын
You make it sooooooo easy to understand 👏👏👏👏👏
@mahadahmed2040
@mahadahmed2040 3 жыл бұрын
Thanks so much I finally learned OOP!
@kosmic85
@kosmic85 2 жыл бұрын
Great video… well done
@khwajanamatullahseddiqy6999
@khwajanamatullahseddiqy6999 Жыл бұрын
Thank you it was useful and with details.
@DoorThief
@DoorThief 4 жыл бұрын
Hey! One of the questions I had during this episode was why you chose to use Pascal case inside the class structure instead of camel case. But I put it together on my own, realizing that every other object used Pascal case and, since it was inside that must be the normal naming convention. On another note, I was wondering why you chose to concatenate the Console.WriteLine string instead of using string interpolation, which I find much less tedious to write. Ex: $"Hello, my name is {Name}, I am {Age} years old}";
@sahanahiremath8945
@sahanahiremath8945 2 жыл бұрын
Thanks man 🙌
@luizazilio5960
@luizazilio5960 2 жыл бұрын
very good, thank you!
@grow-with-dickson
@grow-with-dickson 3 жыл бұрын
Very interesting. Thanks a lot
@actuallyvidding
@actuallyvidding 4 жыл бұрын
Thank you so so so much!!
@KASA2019
@KASA2019 4 жыл бұрын
Thanks man, you saved me.
@kaembechisenga4677
@kaembechisenga4677 5 жыл бұрын
Yay :) its really been long and its finally here
@carbogast7498
@carbogast7498 4 жыл бұрын
love you man keep up the good work don't forget php too
@travelubs
@travelubs 4 жыл бұрын
Thank you..this OOP is a little bit tricky for me
@3IMAD69
@3IMAD69 4 жыл бұрын
THANK YOU MR.BEAST !!
@alexandertoquero5888
@alexandertoquero5888 3 жыл бұрын
Nice one sir, still helpful 2021😊.
@tariqashraf7575
@tariqashraf7575 3 жыл бұрын
I am lucky to be here. Thanks Man
@michaeltshepotabane483
@michaeltshepotabane483 3 жыл бұрын
Great presentation Dani
@abdullahashfaq7551
@abdullahashfaq7551 Жыл бұрын
thanks a lot you made it very simple
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 57 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 71 МЛН
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,6 МЛН
Classes & Objects | C# | Tutorial 25
13:25
Giraffe Academy
Рет қаралды 168 М.
C# objects 🧍‍♂️
5:01
Bro Code
Рет қаралды 42 М.
C# interfaces 🐟
5:38
Bro Code
Рет қаралды 123 М.
Functions vs Classes: When to Use Which and Why?
10:49
ArjanCodes
Рет қаралды 146 М.
C# methods 📞
6:05
Bro Code
Рет қаралды 48 М.