No video

Static Methods & Classes | C# | Tutorial 30

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

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 11 күн бұрын
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.
@KashifAli-bb4bm
@KashifAli-bb4bm 2 жыл бұрын
Explain in well comprehensive way.. Keep it up
@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!
@mohamadknifati5679
@mohamadknifati5679 2 жыл бұрын
when ever i cant understand something, u r the guy to go to.
@SOMEONE-eq5bu
@SOMEONE-eq5bu 2 жыл бұрын
thanks man, i forgot what what was Static Methods & Classes, had to came back for your excellent explanation
@pedropc5824
@pedropc5824 3 жыл бұрын
Finally someone explain this to me in a easy way. Thanks!
@SILX
@SILX 3 жыл бұрын
mike just explains things in a simple way, i love it
@goverdhanjayaram3683
@goverdhanjayaram3683 8 ай бұрын
Thank you very much! Excellent explanation!
@user-wj5qd5fy1n
@user-wj5qd5fy1n 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!
@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!
@47Mortuus
@47Mortuus 4 жыл бұрын
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.
@KhalidAfridi1
@KhalidAfridi1 4 жыл бұрын
Really helpful and the way of explaining on screen behind and face to face teaching was awesome. thumbs up.
@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. =)
@xaver115
@xaver115 3 жыл бұрын
Thank you! 1 minute of this video was more helpful than 30 minutes of googling
@yuwendridesilva6956
@yuwendridesilva6956 3 жыл бұрын
Great explanation .Thank you
@akashrajum3319
@akashrajum3319 5 жыл бұрын
This video deserves more views. Thanks.
@chinedumgbedoro5362
@chinedumgbedoro5362 2 жыл бұрын
Thanks for sharing. Very helpful
@imadabab
@imadabab 4 жыл бұрын
Perfect. Thanks a lot. I already subscribed long time ago.
@miltonsermoud3643
@miltonsermoud3643 3 жыл бұрын
The best explanation I've ever seen about this topic. Thank you so much!
@Jwhite1979
@Jwhite1979 3 жыл бұрын
Great explanation.
@paulihelsi9852
@paulihelsi9852 3 жыл бұрын
You explain it very clearly. This was very easy to understand.
@xavieracaling6866
@xavieracaling6866 3 жыл бұрын
thanks exactly what i'm looking for.
@longshi7635
@longshi7635 3 жыл бұрын
Thank you for sharing. You explained it very clearly in few minutes! Amazing
@iamdeepshekhar
@iamdeepshekhar 2 жыл бұрын
Beautifully explained. Thank you
@thatguyty96
@thatguyty96 Жыл бұрын
thanks Mike!
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 жыл бұрын
You are awesome. Great video.
@Pilgrim182
@Pilgrim182 2 жыл бұрын
Helpful as hell.
@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
@vardhanvarma1007
@vardhanvarma1007 4 жыл бұрын
Thank you so much. Cleared a lot of confusion.
@sajonezic8525
@sajonezic8525 4 жыл бұрын
Excellent! Thank you very much for this lesson.
@rengoku81xx
@rengoku81xx 2 жыл бұрын
Thank you! You rock!
@teseract7442
@teseract7442 2 жыл бұрын
I love statics methods
@facts247
@facts247 6 жыл бұрын
a simple but effective explanation, thank you very much
@educator5243
@educator5243 2 жыл бұрын
Great vedio
@tonyhuang364
@tonyhuang364 4 жыл бұрын
Very helpful and easy to understand.
@coolprem7445
@coolprem7445 4 жыл бұрын
Really helpful👍
@dangerc3533
@dangerc3533 4 жыл бұрын
Excellent and clear explanation, thank u
@rhaindeathlcook
@rhaindeathlcook 4 жыл бұрын
short but informative! 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
@mmaranta785
@mmaranta785 2 жыл бұрын
Great!
@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.
@srinivasaraoyp3640
@srinivasaraoyp3640 5 жыл бұрын
Very very interesting. Thank you very much.
@shohamtahelnavon530
@shohamtahelnavon530 4 жыл бұрын
thank you so much(: really helpful
@imadabab
@imadabab 4 жыл бұрын
Very helpful video. Thanks a lot dear.
@jeremylpt9276
@jeremylpt9276 4 жыл бұрын
perfectly explained! thanks again!
@VEKTOR_87
@VEKTOR_87 2 жыл бұрын
Thank you so much
@oyoyo2853
@oyoyo2853 Жыл бұрын
ty, well done
@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.
@JayRGabz
@JayRGabz 5 жыл бұрын
nice simply understandable.. thanks
@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.
@kolawoleadekunle5364
@kolawoleadekunle5364 5 жыл бұрын
Many Thanks Mike...
@sijieren5955
@sijieren5955 5 жыл бұрын
This is super helpful! Thanks!
@srinivasaraoyp3640
@srinivasaraoyp3640 5 жыл бұрын
SUPER DEMO SIR. THANK YOU..
@fedvgo
@fedvgo Жыл бұрын
love your vids
@mychannel470
@mychannel470 4 жыл бұрын
Great video, really helps!!!
@FlipMather
@FlipMather 5 жыл бұрын
Thank you, you explained it so well
@neozoid7009
@neozoid7009 3 жыл бұрын
awesome
@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.
@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?
@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
@malmedia9747
@malmedia9747 4 жыл бұрын
Thanks very very very much. Can you prepare video for abstract classes
@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
@erekmandah44
@erekmandah44 3 жыл бұрын
the question is if static class is working so well then what is the point of using objects
@nitro-ww6sk
@nitro-ww6sk 5 жыл бұрын
thank you. the best
@KonradSchK
@KonradSchK 4 жыл бұрын
awesome shit. very informative
@grunt7882
@grunt7882 5 жыл бұрын
Thanks a lot!
@judsonfilms6430
@judsonfilms6430 3 жыл бұрын
cheers boss
@canaldopericles2167
@canaldopericles2167 3 жыл бұрын
great
@narnbrez
@narnbrez 4 жыл бұрын
It would have been great if you had shown the precise compiler error that 1:40 generates.
@oltomcat2106
@oltomcat2106 2 жыл бұрын
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?
@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)
@stbny4444
@stbny4444 5 жыл бұрын
static classes seem to remove the step of creating instances. So why not make all classes static?
@jared394
@jared394 5 жыл бұрын
Why use public static? At the beginning of the video you use static void. Thanks!
@DecentProgrammer
@DecentProgrammer 4 жыл бұрын
you go very fast.
@bajjary
@bajjary 6 жыл бұрын
it helped me, thanx
@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?
@thuanphatcao6969
@thuanphatcao6969 3 жыл бұрын
Damn the knee Lol XD
@hanjarake_taro
@hanjarake_taro 2 жыл бұрын
I just make all the class and methods as static. All solved!
@ArjunSingh-qt5jn
@ArjunSingh-qt5jn 3 жыл бұрын
also final class cannot have instance.
@DodevdoneOfficial
@DodevdoneOfficial 6 жыл бұрын
it was really helpful
@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.
@neozoid7009
@neozoid7009 3 жыл бұрын
how you learnd coding????
@mohamedlaghzali5726
@mohamedlaghzali5726 2 жыл бұрын
LMAAAAAAO MY TEACHER SPEND THE LAST 4 HOURS TRYING TO EXPLAIN THIS SIMPLE CONCEPT
@HorseyWorsey
@HorseyWorsey 4 жыл бұрын
Godlike
@russiangravy3870
@russiangravy3870 3 жыл бұрын
Why should I ever instance a class if I can write all static functions?
@ichimori88
@ichimori88 3 жыл бұрын
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.
@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?
@seifvergil
@seifvergil 6 жыл бұрын
thanks!
@dedankimathi7136
@dedankimathi7136 2 жыл бұрын
Hi Mike. Great explanation. Do u have a way we can contact you for further specific questions?
@leenelias4322
@leenelias4322 3 жыл бұрын
thank uuuuuuuu
@couch_coach
@couch_coach 2 жыл бұрын
I like your namespace lol
@achalasamapriya2701
@achalasamapriya2701 4 жыл бұрын
Hai..i am new here.awesome tutorials..by the way whats up with the giraffe ??
@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
@GBSCronoo
@GBSCronoo 6 жыл бұрын
Thank you this helped a lot ^_^
@gbagba81
@gbagba81 Жыл бұрын
thanxxxxxxxxxxxxx uxxxxxxx
@anjujose446
@anjujose446 5 жыл бұрын
liked it :)
Inheritance | C# | Tutorial 31
10:29
Giraffe Academy
Рет қаралды 57 М.
Classes & Objects | C# | Tutorial 25
13:25
Giraffe Academy
Рет қаралды 170 М.
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 47 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 51 МЛН
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
C# Constructors Tutorial | Mosh
23:24
Programming with Mosh
Рет қаралды 233 М.
Getters & Setters | C# | Tutorial 28
12:09
Giraffe Academy
Рет қаралды 192 М.
C# static 🚫
5:03
Bro Code
Рет қаралды 69 М.
Coding SUCKS for Beginners | Let's Rant!
17:40
Giraffe Academy
Рет қаралды 161 М.
9.10 Static Members - Learning C#
17:36
ParametricCamp
Рет қаралды 2,1 М.
Programming Languages DON'T MATTER | Let's Rant!
10:05
Giraffe Academy
Рет қаралды 44 М.
So You Think You Know C#? - Static classes
28:08
Shiv Kumar
Рет қаралды 10 М.
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН