Static Methods & Classes | C# | Tutorial 30

  Рет қаралды 94,886

Giraffe Academy

Giraffe Academy

Күн бұрын

Пікірлер: 118
@littlecurrybread
@littlecurrybread 4 жыл бұрын
the best explanation of static methods i've found so far!
@attilaguba856
@attilaguba856 2 жыл бұрын
True! I agree!
@Dani-zy6cf
@Dani-zy6cf Жыл бұрын
yes, I saw like 3 videos before this one, and this one was the only one I actually understood
@tayo5302
@tayo5302 Ай бұрын
Yep, I watched Bro code's video and he started using all this complicated lingo. Just get to the point!
@allendzedzy8565
@allendzedzy8565 5 жыл бұрын
Super helpful video, I've been reading on the static modifier and was just getting bits and pieces of understanding. This really tied it all together for me!
@klimentpaskalev962
@klimentpaskalev962 2 жыл бұрын
Really good video. Concise, short, explained in plain words with a good example. I've looked at several videos and blogs and they all make is so complicated. Thanks! I now get this 100%.
@gymnastboy7736
@gymnastboy7736 Жыл бұрын
only youtuber that actually explains how thing work. love it. if I don't understand what another youtuber is talking about I go to this channel and I would HIGHLY RECOMEND checking his vids out. absolutely incredible. he wants you to learn exactly that you need to know.
@raven.4815
@raven.4815 Жыл бұрын
You're a lifesaver, man! Tried to understand with this with other tutorials + Stack Overflow but nothing, but your video finally gave this topic sense!
@SILX
@SILX 3 жыл бұрын
mike just explains things in a simple way, i love it
@s0nnyv123
@s0nnyv123 Жыл бұрын
I have watched several videos on static methods and static classes and this video did it for me. It made it clear for me to understand how it works. Thank you! Liked and subscribed!
@pedropc5824
@pedropc5824 3 жыл бұрын
Finally someone explain this to me in a easy way. Thanks!
@KhalidAfridi1
@KhalidAfridi1 4 жыл бұрын
Really helpful and the way of explaining on screen behind and face to face teaching was awesome. thumbs up.
@ВениславЗдравков
@ВениславЗдравков 2 жыл бұрын
Best explanation ever. In the first minute, I understand what are they about. I was confused for so long about this topic...Then I found this!
@shehzad2519
@shehzad2519 3 жыл бұрын
bruh, I was searching the damn internet for this. I have OOP C# assignment re-subs and I need screenshots. Thankfully, now i can make my own because of your help. Keep up!
@ShadesGameSource
@ShadesGameSource 3 жыл бұрын
Thank you so much for this, man. I just started learning C# a couple weeks ago, and your videos are super clear and easy to understand. I just checked your channel and I see you haven't uploaded in a while. That's cool. Hope you're doing well! Stay safe. =)
@KashifAli-bb4bm
@KashifAli-bb4bm 2 жыл бұрын
Explain in well comprehensive way.. Keep it up
@xaver115
@xaver115 3 жыл бұрын
Thank you! 1 minute of this video was more helpful than 30 minutes of googling
@47Mortuus
@47Mortuus 5 жыл бұрын
Your tutorials are helpful. To me they feel like they're aimed both at absolute coding beginners aswell as coders who know other languages with you showing off some unique features about C# those people need tio know about to adapt their previously gained knowledge to C#. To me, though, I didn't get any kind of overview about Namespaces, Classes and Methods even after watching this series for the third time. It was only after I started reading literature, when I gained further insight, or BEGINNERS insight for the very first time - you know, some kind of overview. But I guess you're not aiming at replacing literature, although you very much would be able to, if you went ahead and covered a programming language "completely", but seeing you having like 30 different programming language tutorials makes that unlikely.
@SOMEONE-eq5bu
@SOMEONE-eq5bu 2 жыл бұрын
thanks man, i forgot what what was Static Methods & Classes, had to came back for your excellent explanation
@mohamadknifati5679
@mohamadknifati5679 2 жыл бұрын
when ever i cant understand something, u r the guy to go to.
@miltonsermoud3643
@miltonsermoud3643 3 жыл бұрын
The best explanation I've ever seen about this topic. Thank you so much!
@paulihelsi9852
@paulihelsi9852 3 жыл бұрын
You explain it very clearly. This was very easy to understand.
@akashrajum3319
@akashrajum3319 5 жыл бұрын
This video deserves more views. Thanks.
@thele99
@thele99 3 жыл бұрын
This was great. For the life of me, I could not find a good website out there that could explain Static methods... but here we are and now I know. Question though -- is there any reason to create a PRIVATE STATIC method? I am not even sure it's legal to do so.
@longshi7635
@longshi7635 3 жыл бұрын
Thank you for sharing. You explained it very clearly in few minutes! Amazing
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 жыл бұрын
You are awesome. Great video.
@goverdhanjayaram3683
@goverdhanjayaram3683 9 ай бұрын
Thank you very much! Excellent explanation!
@iamdeepshekhar
@iamdeepshekhar 2 жыл бұрын
Beautifully explained. Thank you
@Jwhite1979
@Jwhite1979 3 жыл бұрын
Great explanation.
@imadabab
@imadabab 4 жыл бұрын
Perfect. Thanks a lot. I already subscribed long time ago.
@chinedumgbedoro5362
@chinedumgbedoro5362 2 жыл бұрын
Thanks for sharing. Very helpful
@yuwendridesilva6956
@yuwendridesilva6956 3 жыл бұрын
Great explanation .Thank you
@krekk2751
@krekk2751 4 жыл бұрын
amazing video, you're very much a likeable person! I will definitely watch all the videos to make things clear
@facts247
@facts247 6 жыл бұрын
a simple but effective explanation, thank you very much
@richardikin
@richardikin 3 жыл бұрын
I'm really getting to like C#. I have a lot of experience with Java, C and C++, and I'm learning C# by converting the Java game framework Libgdx.
@tonyhuang364
@tonyhuang364 4 жыл бұрын
Very helpful and easy to understand.
@vardhanvarma1007
@vardhanvarma1007 4 жыл бұрын
Thank you so much. Cleared a lot of confusion.
@vima9046
@vima9046 2 жыл бұрын
Im italian, i was looking tons of italian videos how to use static method but nobody has a fucking answer...cannot find anything in a simple way! And u man, u enlightened me in just "6" fucking minutes! Thanks man! Need to study english.
@imadabab
@imadabab 4 жыл бұрын
Very helpful video. Thanks a lot dear.
@sajonezic8525
@sajonezic8525 4 жыл бұрын
Excellent! Thank you very much for this lesson.
@dangerc3533
@dangerc3533 4 жыл бұрын
Excellent and clear explanation, thank u
@rhaindeathlcook
@rhaindeathlcook 4 жыл бұрын
short but informative! thank you!!!
@gregpert4202
@gregpert4202 5 жыл бұрын
I'm just laughing at having a project named Giraffe that just returns the Sqrt of 144
@leobryant1011
@leobryant1011 4 жыл бұрын
LMAO
@Nova04550
@Nova04550 3 жыл бұрын
It didn't make me laugh until you went and pointed that out
@xavieracaling6866
@xavieracaling6866 3 жыл бұрын
thanks exactly what i'm looking for.
@thuanphatcao6969
@thuanphatcao6969 3 жыл бұрын
Damn the knee Lol XD
@dedankimathi7136
@dedankimathi7136 2 жыл бұрын
Hi Mike. Great explanation. Do u have a way we can contact you for further specific questions?
@rolstonholas333
@rolstonholas333 4 жыл бұрын
Hi Mike, thank you so much for these videos, I have enjoyed them and learned a lot but I do have one question if I may. I was watching a video on new features in C# 6.0 and mentioned the using static feature ie using static System.Console; to load the static methods of this class but I have noticed that I cannot use this for custom classes as I do not know what namespace they occupy. Do you know if this feature is available for custom classes and, if so, do you know what namespace custom classes occupy? Thank you for the videos series, I'm currently going through your OOP series and enjoying it too.
@educator5243
@educator5243 3 жыл бұрын
Great vedio
@Pilgrim182
@Pilgrim182 2 жыл бұрын
Helpful as hell.
@JayRGabz
@JayRGabz 5 жыл бұрын
nice simply understandable.. thanks
@srinivasaraoyp3640
@srinivasaraoyp3640 5 жыл бұрын
Very very interesting. Thank you very much.
@malmedia9747
@malmedia9747 4 жыл бұрын
Thanks very very very much. Can you prepare video for abstract classes
@coolprem7445
@coolprem7445 4 жыл бұрын
Really helpful👍
@jeremylpt9276
@jeremylpt9276 4 жыл бұрын
perfectly explained! thanks again!
@teseract7442
@teseract7442 2 жыл бұрын
I love statics methods
@thatguyty96
@thatguyty96 Жыл бұрын
thanks Mike!
@shohamtahelnavon530
@shohamtahelnavon530 5 жыл бұрын
thank you so much(: really helpful
@rengoku81xx
@rengoku81xx 2 жыл бұрын
Thank you! You rock!
@sijieren5955
@sijieren5955 5 жыл бұрын
This is super helpful! Thanks!
@mr.hgorgan1812
@mr.hgorgan1812 2 жыл бұрын
Beginner question: why would we ever write non-static methods then? Seems easier to just call the static method directly rather than creating class objects and then call the class method.
@achalasamapriya2701
@achalasamapriya2701 4 жыл бұрын
Hai..i am new here.awesome tutorials..by the way whats up with the giraffe ??
@narnbrez
@narnbrez 4 жыл бұрын
It would have been great if you had shown the precise compiler error that 1:40 generates.
@srinivasaraoyp3640
@srinivasaraoyp3640 5 жыл бұрын
SUPER DEMO SIR. THANK YOU..
@thebulletkin8393
@thebulletkin8393 2 жыл бұрын
You can’t have fields or variables in a static class can you? I need to make one instance of a class, but change it’s variables as the program runs, but I’m having trouble doing that
@phucnguyenlx
@phucnguyenlx 2 жыл бұрын
I am a bit confused as portrayed this way, the class is no different to method if I create a method directly in main();. Could you please advise?
@kolawoleadekunle5364
@kolawoleadekunle5364 5 жыл бұрын
Many Thanks Mike...
@mychannel470
@mychannel470 4 жыл бұрын
Great video, really helps!!!
@oltomcat2106
@oltomcat2106 3 жыл бұрын
Hi there👋 Me have a severe probem in understanding the keyword 'static'. Although I understand, what that video teached me, there are a lot of question marks in my head 🙃 It's unclear (for me), for what 'static' should be used and for what not? Why not using 'static' everywhere?
@Steven-wo9bm
@Steven-wo9bm 4 жыл бұрын
Bro you explain stuff so well i love it, new subscriber here. I wish you could be my mentor. Just starting out in the programming field.
@orjisamuelobinna9764
@orjisamuelobinna9764 Жыл бұрын
You must have gone far now. Just start mine
@jared394
@jared394 5 жыл бұрын
Why use public static? At the beginning of the video you use static void. Thanks!
@KonradSchK
@KonradSchK 4 жыл бұрын
awesome shit. very informative
@FlipMather
@FlipMather 5 жыл бұрын
Thank you, you explained it so well
@darkman237
@darkman237 5 жыл бұрын
What if you have a function that starts a coroutine and you want to be able to access it from anywhere? Does the ienumerator need to be static also?
@DodevdoneOfficial
@DodevdoneOfficial 6 жыл бұрын
it was really helpful
@fedvgo
@fedvgo 2 жыл бұрын
love your vids
@stuteerath4562
@stuteerath4562 2 жыл бұрын
can u please make a video on methods being called inside methods like -----> method_name(method_name(arg1,arg2),arg3,arg4)) I have seen it somewhere but cud not understand it 😐.
@programmingjo
@programmingjo 4 жыл бұрын
So, you can create a static class within a namespace, and that will be available to every other class inside of the namespace, right?
@programmingjo
@programmingjo 4 жыл бұрын
But not available to another class in another namespace, right?(I know, sounds like a stupid question, but I have to ask)
@mohamedlaghzali5726
@mohamedlaghzali5726 2 жыл бұрын
LMAAAAAAO MY TEACHER SPEND THE LAST 4 HOURS TRYING TO EXPLAIN THIS SIMPLE CONCEPT
@mmaranta785
@mmaranta785 2 жыл бұрын
Great!
@stbny4444
@stbny4444 5 жыл бұрын
static classes seem to remove the step of creating instances. So why not make all classes static?
@VEKTOR_87
@VEKTOR_87 2 жыл бұрын
Thank you so much
@oyoyo2853
@oyoyo2853 2 жыл бұрын
ty, well done
@judsonfilms6430
@judsonfilms6430 3 жыл бұрын
cheers boss
@neozoid7009
@neozoid7009 3 жыл бұрын
awesome
@erekmandah44
@erekmandah44 3 жыл бұрын
the question is if static class is working so well then what is the point of using objects
@grunt7882
@grunt7882 5 жыл бұрын
Thanks a lot!
@nitro-ww6sk
@nitro-ww6sk 5 жыл бұрын
thank you. the best
@couch_coach
@couch_coach 2 жыл бұрын
I like your namespace lol
@bajjary
@bajjary 6 жыл бұрын
it helped me, thanx
@adrianstan9082
@adrianstan9082 2 жыл бұрын
So if there are that easy to use and "useful" why not always use static methods? Like isn't creating new objects taking more memory?
@GBSCronoo
@GBSCronoo 6 жыл бұрын
Thank you this helped a lot ^_^
@canaldopericles2167
@canaldopericles2167 3 жыл бұрын
great
@DecentProgrammer
@DecentProgrammer 4 жыл бұрын
you go very fast.
@HorseyWorsey
@HorseyWorsey 4 жыл бұрын
Godlike
@neozoid7009
@neozoid7009 3 жыл бұрын
how you learnd coding????
@seifvergil
@seifvergil 6 жыл бұрын
thanks!
@leenelias4322
@leenelias4322 3 жыл бұрын
thank uuuuuuuu
@anjujose446
@anjujose446 5 жыл бұрын
liked it :)
@Holmes-it7fo
@Holmes-it7fo 4 жыл бұрын
when i type the static method it gives me an error telling me that i have to get c# 8.0 please help!!
@Bruh-ms4jh
@Bruh-ms4jh 4 жыл бұрын
just search it up
@russiangravy3870
@russiangravy3870 4 жыл бұрын
Why should I ever instance a class if I can write all static functions?
@ichimori88
@ichimori88 4 жыл бұрын
exactly... One reason I can think of is the developer may want different instance of the class? I dont know if that's right. Hope someone will clear the air for us.
@hanjarake_taro
@hanjarake_taro 2 жыл бұрын
I just make all the class and methods as static. All solved!
@edgarjuniormendoza2743
@edgarjuniormendoza2743 4 жыл бұрын
Hi Vlogger , Hope you notice me , ♥️♥️♥️🌈
@paulalwin91
@paulalwin91 5 жыл бұрын
you have really big hands :o
Inheritance | C# | Tutorial 31
10:29
Giraffe Academy
Рет қаралды 58 М.
Getters & Setters | C# | Tutorial 28
12:09
Giraffe Academy
Рет қаралды 193 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 5 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 7 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 28 МЛН
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
Classes & Objects | C# | Tutorial 25
13:25
Giraffe Academy
Рет қаралды 173 М.
why are switch statements so HECKIN fast?
11:03
Low Level
Рет қаралды 412 М.
How IDisposable and Using Statements Work Together in C#
10:01
IAmTimCorey
Рет қаралды 31 М.
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 933 М.
Java Classes & Objects
11:36
Keep On Coding
Рет қаралды 338 М.
How IEnumerable can kill your performance in C#
11:02
Nick Chapsas
Рет қаралды 118 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 5 МЛН