Getters & Setters | C# | Tutorial 28

  Рет қаралды 190,813

Giraffe Academy

Giraffe Academy

6 жыл бұрын

Source Code - www.giraffeacademy.com/program... This video is one in a series of videos where we'll be looking at programming in C#. The course is designed for new programmers, and will introduce common programming topics using the C# language.
Throughout the course we'll be looking at various topics including variables, arrays, getting user input, loops, conditionals, object orientation and much more.

Пікірлер: 214
@nereidia3390
@nereidia3390 5 жыл бұрын
Teacher lectured about getters and setters for 2 hours and after class I didn't have a clue what they were. This 12 mins video explained them well and now I understand them. Thanks.
@mcredifine
@mcredifine 5 жыл бұрын
this is basically 3years of math courses for me. Uni teachers explain subject in 2h and nobody got any of that(mostly because it's just theory and not actual practice) then you go home and an awesome guy like this explains the subject to you in 10 min. youtube, udemy, and wikipedia are our generation's true teachers
@navjotsingh2251
@navjotsingh2251 4 жыл бұрын
Michael K don’t put all lecturers under that category. My math and comp sci lecturers are both excellent, they focus on both theory and intuition at the same time, they make sure we have the intuition to understand what it going on.
@konnelius
@konnelius 4 жыл бұрын
this... so much this.
@bingkysskiliwaax7941
@bingkysskiliwaax7941 4 жыл бұрын
@@navjotsingh2251 hes not talking bout your...... Teachers
@alexllesol8048
@alexllesol8048 3 жыл бұрын
You guys have discussions?
@MizzouAntler
@MizzouAntler 4 жыл бұрын
Dude, seriously. I am in an online class and have been close to tears because I thought I was too dumb to understand OOP. You are a life-saver!
@aba22125
@aba22125 2 жыл бұрын
You're not too dumb, even people with high IQs and whatnot struggle to grasp this. And almost all professors suck at teaching these concepts -- that doesn't really help either.
@hadiimran9106
@hadiimran9106 Жыл бұрын
Omg I thought it’s only me today very reluctantly I gathered my courage and ask my tutor to explain this concept to me didn’t really get my head round it however this dude has made everything crystal clear 😂
@TheIsolatedGamerz
@TheIsolatedGamerz 6 жыл бұрын
hey man you very clear and concise. Great job
@KarlooAudi
@KarlooAudi 5 жыл бұрын
You are so good at this, I wish you made more of c#
@SebLeCaribou
@SebLeCaribou 2 жыл бұрын
Four years later, still the best way to understand the concept of getters and setters.
@sethschiele3218
@sethschiele3218 4 жыл бұрын
I cant get over how fluid my man is with the knowledge. Thank you Mike!
@StayAware9
@StayAware9 2 жыл бұрын
Bro you are a born teacher...Your explanations created my IT career💖💖💖💖💖
@TurboWindex
@TurboWindex 4 жыл бұрын
Thank you so much for taking some of your time to share what you've learned over the years in a very compact and relatively easy to understand manner. Big love from Canada !
@Dotto19
@Dotto19 4 жыл бұрын
Thank you Mike, You've made this topic really easy to understand.
@formyeve
@formyeve 2 жыл бұрын
I literally spent 4 years trying to learn getters and setters and didn't have a clue what they were. This short video explained them perfectly and now I understand them. Thank you!
@void3887
@void3887 4 жыл бұрын
This saved my life! Thank you! This video is fantastic and describes perfectly what I needed to understand to get my assignment done tonight.
@JanekBaranek
@JanekBaranek 5 жыл бұрын
The best movie on YT on Get and Set in C#!!!! You are legend! Explained me what teacher could not ;)
@tsareena5899
@tsareena5899 4 жыл бұрын
I'm about to finish all these videos from the freeCodeCamp compilation. The best free tutorials out there! I just hope there's more for C# moving to the intermediate something like that and then advance.
@athariealfuraih8115
@athariealfuraih8115 3 жыл бұрын
I love how simple and clear your explanations are ! Thank you!!
@ss5380
@ss5380 3 жыл бұрын
Thanks a lot man for simplifying this. I was almost on the verge of dropping out from the course at school. You're a lifesaver!!
@rajinderbedi7632
@rajinderbedi7632 Жыл бұрын
You are a life- saver bro ! Struggled for hours and got the logic within 12 minutes ! keep it up
@nasimnaji9405
@nasimnaji9405 4 жыл бұрын
Not only you're a great programmer, but your teaching skills are also quite impressive. Very informative thank you.
@ovey2214
@ovey2214 3 жыл бұрын
I just need to go to all of your videos and give a thumbs up. You make things so incredibly easy to understand that I'm dumbfounded at how hard some others make things! You do an incredible job and I REALLY appreciate your videos!
@PeterMucha0811
@PeterMucha0811 Жыл бұрын
Periodically over the past 6 years, I've watched all the LinkedIn courses and many nights trying to wrap my head around this concept "ended up more confused than when I started." Your teaching method gave me a complete understanding, and I can finally finish my program.
@gruzzleybear7405
@gruzzleybear7405 5 жыл бұрын
I have watched several videos and I did not understand it until now. Thank you
@tbtv9051
@tbtv9051 4 жыл бұрын
The best explanation I’ve heard yet! I heard/watched a couple in my native language but don’t get a clue what these guys talking about. Thanks!
@wackyjoker7912
@wackyjoker7912 4 жыл бұрын
very good explain and examples, one of the best i've found in entire internet that i can understand.
@jonothen2212
@jonothen2212 3 жыл бұрын
Good job brother, I can’t believe how easy to follow and understand ur content is, i have searched for vid after vid none of em very clear and u killing it man Absolutely superb bro!
@jeffreyhicks6380
@jeffreyhicks6380 3 жыл бұрын
I'm always thankful for your content! Thank you, Mike Dane!
@PP-mh5ne
@PP-mh5ne 5 жыл бұрын
Fantastic guide, had some trouble understanding this, but could follow your explanation perfectly on the first attempt!
@rodrigo1300
@rodrigo1300 4 жыл бұрын
From all the programmers I saw on KZbin. Mike is for sure the best.
@pranavi1949
@pranavi1949 Жыл бұрын
Def not
@W0wH0bbs
@W0wH0bbs 2 жыл бұрын
Thanks. Was having trouble creating multiple setters and getters in one class and this helped my organization!
@darxyde
@darxyde 5 жыл бұрын
Well explained, I finally know what's the deal with get/set ... Thanks!
@mithusrpgteam
@mithusrpgteam 5 жыл бұрын
Thank you! You made me understand those. Have a nice day!
@evelinke
@evelinke 22 күн бұрын
Thanks, you're a lifesaver. I've been stuck with this for days now. Also, it's Andrew Adamson.
@Moss2323
@Moss2323 5 ай бұрын
Three things discouraged me from proceeding with learning oop 15 years ago - constructors, get(), set(). The more I read on these the more confused they became. Even many other videos on youtube leaves you more confused. You simplied everything within few minutes. The feeling is just on another level. You are a great teacher.
@asifkazmi8733
@asifkazmi8733 3 жыл бұрын
Fantastic. I somewhat understood what getters and setters were, I just didn't know why you needed them, the motive. Now I see... thanks!
@AlexCio
@AlexCio 4 жыл бұрын
Thanks for this great introduction! I am still new to c-sharp and I am use to create getters and setters differently from java :)
@dhyangandhi4344
@dhyangandhi4344 4 жыл бұрын
Love your content...very easy to understand, and interesting. Thanks a lot
@Theodore2303
@Theodore2303 2 жыл бұрын
This the gem. Thank you man!
@DylanKeyter
@DylanKeyter 5 жыл бұрын
Fantastic explanation dude, you are extremely good at what you do. Thank you.
@mzamomahaeng268
@mzamomahaeng268 3 жыл бұрын
I'm new to C# and this lesson made sense.Well explained sir.Thanks
@thele99
@thele99 3 жыл бұрын
OMG! I name all my method parameters with the prefix of "a" or "arg" -- I took a lot of crap from that over the years. You're the only other person I've seen that does this! I feel... validated.
@BGraves
@BGraves 2 жыл бұрын
That just sounds like an improvement to the existing naming convention, especially to distinguish what is what to newbies at a glance. Microsoft only says "When writing method parameters, use camel casing." So keep doing what you're doing
@HorridOnlineTroll
@HorridOnlineTroll Жыл бұрын
I do this too, I just find it less confusing tbh
@wesleysigner769
@wesleysigner769 Жыл бұрын
I don’t know why I wasn’t able to grasp getters and setters before this, but this really helped me. Thank you
@mathieuseligmann9488
@mathieuseligmann9488 3 жыл бұрын
Thank you very much. I have been watching a few times and I did some sketches and took note. I think that is super clear. Thanks a lot
@guvencelikhalat6409
@guvencelikhalat6409 5 жыл бұрын
Great Job . Thank You. Keep on your work. May God Be With You.
@stevenerixon33
@stevenerixon33 3 жыл бұрын
super helpful! Thanks! you're really talented at explaining :D
@jaaferelsadig
@jaaferelsadig 3 жыл бұрын
Thanks a lot, read it in a few places but didn't grasp it till I saw this
@plazzmator
@plazzmator 4 жыл бұрын
best c# tutorial i have ever seen
@XIsleTheWanderer
@XIsleTheWanderer 3 жыл бұрын
So, I watched all the way through your whole C# series, and thought I had a grasp on what you were teaching. Only to go try and write my own program and have no idea where to begin. Once I realized I needed to understand the overall way of thinking like a programmer, I began to be able to apply what you taught. Now, coming back to your videos for reference, I'm finding that uou are the best teacher I've seen yet. Keep it up!
@shallanrambaran6942
@shallanrambaran6942 Жыл бұрын
For anybody reading the comment above who are looking for the 'foundation' (eg. thinking like a programmer); look for the free CS50 course (by Harvard University Lecturer - David J Malan) on KZbin. This will help you very nicely! Good luck and Godspeed to all my fellow potential programmers out there!
@shafialanower3820
@shafialanower3820 8 ай бұрын
How did you leaarn to think like a programmer? Is it more practice problems?
@shafialanower3820
@shafialanower3820 8 ай бұрын
Thank you for the refrence. I don't know how to think like a programmer yet. My instic is to solve problems by seeing which syntax fits the problem but that is a very bad habbit@@shallanrambaran6942
@XIsleTheWanderer
@XIsleTheWanderer 8 ай бұрын
@shafialanower3820 For me it really was just a lot of practicing. Unfortunately ChatGPT wasn't a thing I had access to when I was trying to figure it all out; but honestly that's gonna be your best bet for any questions, and helping to explain things you feel like you're struggling to understand
@ame7272
@ame7272 2 жыл бұрын
Your tutorials are awesome. Thank you!
@Patricebrouh
@Patricebrouh 5 жыл бұрын
Great! I understand "set" and "get" thanks to this video
@spillysock-spock9929
@spillysock-spock9929 Жыл бұрын
Thank you, I have been learning c# through solo learn and their explanations have been getting very unhelpful this helped me understand properties far better
@ranjanadissanayaka5390
@ranjanadissanayaka5390 5 ай бұрын
awesome Mike!! You are the best. 😀😀
@vijayarajan-bt5fk
@vijayarajan-bt5fk 2 ай бұрын
அருமை, வாழ்த்துகள்;
@devonk298
@devonk298 3 жыл бұрын
Nice ty! Would love to see a full course on OOP from you!
@MrPoselsky
@MrPoselsky 5 жыл бұрын
YOU DESERVE MY SUB! THANK YOU!
@mirlamontano6640
@mirlamontano6640 5 жыл бұрын
Amazing explanation, it was very useful!!
@binjozoken6055
@binjozoken6055 2 жыл бұрын
Wow! Great stuff.
@TheMisiekMisiek
@TheMisiekMisiek 2 жыл бұрын
Really good. I like it very much. Clear explanation.
@bhattbhaumik3266
@bhattbhaumik3266 2 жыл бұрын
Awesome Clear and concise
@fahadmdkamal530
@fahadmdkamal530 5 жыл бұрын
At last I've understand the main reason of using getters and setters. Thanks will not be enough for you... But thank you a lot.
@ExiledExia
@ExiledExia 3 жыл бұрын
this explained it better than 3 weeks of programming class
@kanuraagkaushik97
@kanuraagkaushik97 6 жыл бұрын
Good flow and a better explanation.
@alexgann4585
@alexgann4585 2 жыл бұрын
This helped a lot, thanks so much!
@mehrdad_ranj
@mehrdad_ranj 3 жыл бұрын
that was awesome Mike , thanks
@user-sb9dn8cb3n
@user-sb9dn8cb3n 4 жыл бұрын
This man is a national treasure
@destinynguyen3721
@destinynguyen3721 2 жыл бұрын
I have learn a lot lesson from you, Thanks!
@manjeetnandal1
@manjeetnandal1 4 жыл бұрын
Nice explained! Many thanks! U r awesome Man!
@TheUnknownGuy85
@TheUnknownGuy85 2 жыл бұрын
a very good teacher and the best video of getter and setter
@carol00210
@carol00210 2 жыл бұрын
What an amazing tutorial, thank you so much
@sybildong9608
@sybildong9608 4 жыл бұрын
it really helps me on my assignment!! thanks!
@shaunhunterit342
@shaunhunterit342 2 жыл бұрын
Thanks, a very clear explanation
@mmabasa26
@mmabasa26 Жыл бұрын
BEST EXPLAINER!
@DPLDN99
@DPLDN99 4 жыл бұрын
great video mate
@rohitpandrangi8537
@rohitpandrangi8537 3 жыл бұрын
bro this video is so cool... thanks for explaining it so clearly
@wilmsg3875
@wilmsg3875 4 жыл бұрын
This guy is a legend. clear and concise content without beating about the bush #amazing
@kruth6663
@kruth6663 3 жыл бұрын
Mike makes it so easy to understand, thank you so much. I would like to see a Dog rated movie 😂
@williamalesna5703
@williamalesna5703 3 жыл бұрын
it means dog sheet rated movies 🤣🤣🤣
@joudymohammed7997
@joudymohammed7997 10 ай бұрын
broo I love you TBH !!!
@musabchishti8476
@musabchishti8476 8 ай бұрын
Thankyou so much to clear the concepts😇
@chimerablack4913
@chimerablack4913 5 жыл бұрын
Awesome tutorial bro! I would only make one suggestion and that is to use a Switch statement rather than an "If" when you have more than 3 conditions to test, as it gets hard to read when you have one long list of "ORs""
@waqar8544
@waqar8544 4 жыл бұрын
Thanks you cleared my concept.....
@mikedudok9215
@mikedudok9215 2 жыл бұрын
Very helpfull video thanks!
@PovilasCiplis
@PovilasCiplis 4 жыл бұрын
thanks for a good tutorial Mike
@relaxandgetenergy7182
@relaxandgetenergy7182 2 жыл бұрын
Very clear. Thank you sir :)
@xdzax5417
@xdzax5417 4 жыл бұрын
Thank you Mike you've made a nice video thanks again.
@dominiquedevries9972
@dominiquedevries9972 4 жыл бұрын
You are amazing!
@simonroyjonesuk
@simonroyjonesuk 3 жыл бұрын
Thanks. Really useful and clear.
@AliTahreiSh
@AliTahreiSh 2 жыл бұрын
Simple and comprehensive
@jointherevolution5577
@jointherevolution5577 Жыл бұрын
Very good!
@o.429
@o.429 5 жыл бұрын
Very very simple and helpful comment.
@sauravshrestha1890
@sauravshrestha1890 Жыл бұрын
Awesome!
@rohanroy798
@rohanroy798 3 жыл бұрын
Man, helped me a lot ❤️
@kabiruokeleye7523
@kabiruokeleye7523 4 жыл бұрын
i love this got the knowledge needed
@sagnikchakraborty4750
@sagnikchakraborty4750 3 жыл бұрын
Best Teacher ❤️❤️❤️
@SweetPeachannel
@SweetPeachannel Жыл бұрын
you are awesome, thx mate
@dominiquedevries9972
@dominiquedevries9972 4 жыл бұрын
Everything you do is for free, so I donate 10 euros via your site. Please keep up the good work :)
@roadstermane
@roadstermane 9 ай бұрын
You are my savior ❤❤❤
@hamitatalar447
@hamitatalar447 3 жыл бұрын
I'm watching your video from turkey.You are very good
@tuncaydemirtepe7978
@tuncaydemirtepe7978 5 жыл бұрын
Great video! thanks
@hadiimran9106
@hadiimran9106 Жыл бұрын
Your star mate !
@brunosvintageguitarsolos9842
@brunosvintageguitarsolos9842 5 жыл бұрын
Awesome tut
@chriscalver8595
@chriscalver8595 Жыл бұрын
Great videos
@david-thang-coder
@david-thang-coder 2 жыл бұрын
Thanks Mike
@CuteRay
@CuteRay 3 жыл бұрын
8:26 if value is equal to POG PS thank you this helped me
Static Class Attributes | C# | Tutorial 29
8:16
Giraffe Academy
Рет қаралды 37 М.
Constructors | C# | Tutorial 26
10:29
Giraffe Academy
Рет қаралды 85 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 4,4 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 509 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 19 МЛН
THIS Is How You Should Be Making Getters & Setters In Python
7:32
C# Tutorial: Properties, Getters and Setters
11:39
Ian Schoenrock
Рет қаралды 26 М.
Exception Handling | C# | Tutorial 24
11:01
Giraffe Academy
Рет қаралды 86 М.
C# Properties: Why use "get" and "set"
14:53
Tom McCurdy
Рет қаралды 66 М.
Classes & Objects | C# | Tutorial 25
13:25
Giraffe Academy
Рет қаралды 167 М.
Getters and Setters Java Tutorial #84
14:12
Alex Lee
Рет қаралды 491 М.
C# Constructors - This is how to use them, and WHY
8:00
tutorialsEU - C#
Рет қаралды 6 М.
Learn C# for beginners: 54 -  Get and Set Methods
16:44
Jesse Dietrichson
Рет қаралды 30 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН