Object Methods | C# | Tutorial 27

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 35

  • @ShadesGameSource
    @ShadesGameSource 4 роки тому +16

    A great way to practice this stuff is to watch the video and try to understand as much as possible... and then re-create what was done in the video on your own without looking at any of the code in the video... or looking at it as minimally as possible.
    That's what I've been doing throughout this tutorial series, and it's been working out really well for me.

    • @chronosbat
      @chronosbat 3 роки тому +3

      honestly i didnt even know people learned to code not doing that but i'd also spend like 5 extra minutes experimenting after the lesson just to know what it does better

    • @upcom1ng116
      @upcom1ng116 3 роки тому +3

      Our brain is easily tricking us thinking that we remember what we learn. The fact is understanding and remember is not the same so mostly if we don't code we will forgot. So what you are doing is great!

    • @upcom1ng116
      @upcom1ng116 3 роки тому

      @@chronosbat Many people or even school teach by watching and coding at the same time. It's really different from wrapping the head around the concept and truly understand it and then code without seeing sample. This is why we have so many "Monkey see, Monkey do" programmers.

  • @jeffreydijkstra3391
    @jeffreydijkstra3391 3 роки тому +21

    love the office reference XD

    • @vl4do343
      @vl4do343 10 місяців тому

      thanks XD
      much love, me

  • @jorj_smh8673
    @jorj_smh8673 2 роки тому +3

    great the office references

  • @zfptabuk656
    @zfptabuk656 Рік тому

    Fantastic.... I'm waiting you for xamarin❤

  • @nikolastevkovski818
    @nikolastevkovski818 3 роки тому +15

    You dont need If/else statement in the HasHonors method, you can just say "return (gpa>=3.5)" and its gonna return boolean value.

    • @leto1449
      @leto1449 3 роки тому

      better

    • @upcom1ng116
      @upcom1ng116 3 роки тому +1

      Alright mate, we all know you are smartass in the class. So missing the point of education.

    • @joeman123964
      @joeman123964 Рік тому +4

      yeah but when you coded it yourself then sure, but if you work with a group of engineers this is a tad ambiguous. not to mention you wouldn't typically just need true or false, you would normally use an if statement if(isHonors) { } to continue with code.

  • @mariamemad2528
    @mariamemad2528 6 місяців тому

    can you expand this playlist with more topics like casting, abstract, Generics

  • @ahuvaminy47
    @ahuvaminy47 7 місяців тому

    thank you!!!

  • @sethschiele3218
    @sethschiele3218 5 років тому +22

    RIP anyone watching with a 2.8 GPA

  • @perchrister1140
    @perchrister1140 6 років тому +25

    The Office ftw

  • @archstanton9182
    @archstanton9182 5 років тому +1

    The rule of only one return per method is not being observed here. The coding guidelines that I followed said, one return per function (method) always at the end of the method.

    • @harshbarj
      @harshbarj 2 роки тому

      Well, that's more of a suggestion than a rule. Sometimes it's best to have multiple returns. Having one exit simply improves readability though that can come at the expense of performance as the program has to run through the rest of the code.

  • @isaacl.quelemine8775
    @isaacl.quelemine8775 2 роки тому

    Super👍

  • @khwajanamatullahseddiqy6999

    Object Methods are useful.

  • @ethanlv6709
    @ethanlv6709 5 років тому +1

    Great video, I understand class a lot better than other tutorials. Hope you can have time to answer a few of my questions.
    What is the differences between constructors overloading and methods overloading?
    I see that in this GPA example, the HasHonors() method has no parameter. What do I do if I want to have a method with name, major and gpa as a parameter? If I create HasHonors(string name, string major, double gpa)? Then what is the point of create a constructor? Why don't I just create the method with those parameters? Please advice. Thanks

  • @spyroelpolyglot9629
    @spyroelpolyglot9629 3 місяці тому

    Does NOT work! I copied everything exactly the same and I have 20 errors...invalid tokens and the name does not excist in the current context...

  • @mmaranta785
    @mmaranta785 2 роки тому

    Great

  • @thephonomen6933
    @thephonomen6933 4 роки тому +5

    why throw shade on jim wtf

  • @canaldopericles2167
    @canaldopericles2167 3 роки тому

    great

  • @MorgurEdits
    @MorgurEdits 4 роки тому +14

    Never seen people objectified so much before like in this tutorial.

  • @dr.merlot1532
    @dr.merlot1532 2 роки тому +1

    my hs gpa was 90.4

  • @wencethevillain
    @wencethevillain Рік тому

    i just know he watched the office😂

  • @FuzzyDPozzy
    @FuzzyDPozzy 6 років тому +1

    Mike is the boss , awesome tutorials i am in love i wish i had met him sooner ,before i get a girlfriend :D :D i am j/k i am only available for girls sorry xD but no girlfriend yet so ya xD

  • @lonelyplanet120
    @lonelyplanet120 4 роки тому +1

    poor Jim

  • @anchalsharma5921
    @anchalsharma5921 4 роки тому +2

    You don't deserve to say "please leave a like"

    • @prod.immortalized
      @prod.immortalized 4 роки тому

      wym these tutorials are amazing.

    • @ShadesGameSource
      @ShadesGameSource 4 роки тому +1

      I agree--it's a travesty that his videos are even SUBJECT to the UA-cam algorithms in the first place.
      Screw video metrics--UA-cam should just push this channel's content to anyone searching for programming tutorials.
      I've just started learning C#, and these videos have been an enormous help to me.

    • @karimrafat3800
      @karimrafat3800 3 роки тому +1

      @@ShadesGameSource actually I think now they are more likely to appear because I found the first class video instantly
      and yes they are really helpful.