Object Methods | C# | Tutorial 27

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2017
  • Source Code - www.giraffeacademy .com/programming-languages/csharp/
    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.
    If you’re enjoying Giraffe Academy and want to invest in our future, consider leaving a contribution giraffeacademy.com/contribute

ความคิดเห็น • 34

  • @jeffreydijkstra3391
    @jeffreydijkstra3391 2 ปีที่แล้ว +17

    love the office reference XD

    • @vl4do343
      @vl4do343 4 หลายเดือนก่อน

      thanks XD
      much love, me

  • @ShadesGameSource
    @ShadesGameSource 3 ปีที่แล้ว +14

    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.

    • @flyorfloat
      @flyorfloat 3 ปีที่แล้ว +2

      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 2 ปีที่แล้ว +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 2 ปีที่แล้ว

      @@flyorfloat 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.

  • @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 2 ปีที่แล้ว +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.

  • @ahuvaminy47
    @ahuvaminy47 หลายเดือนก่อน

    thank you!!!

  • @jorj_smh8673
    @jorj_smh8673 ปีที่แล้ว +1

    great the office references

  • @perchrister1140
    @perchrister1140 5 ปีที่แล้ว +25

    The Office ftw

  • @mariamemad2528
    @mariamemad2528 4 วันที่ผ่านมา

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

  • @ethanlv6709
    @ethanlv6709 4 ปีที่แล้ว +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

  • @isaacl.quelemine8775
    @isaacl.quelemine8775 ปีที่แล้ว

    Super👍

  • @zfptabuk656
    @zfptabuk656 10 หลายเดือนก่อน

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

  • @mmaranta785
    @mmaranta785 ปีที่แล้ว

    Great

  • @canaldopericles2167
    @canaldopericles2167 3 ปีที่แล้ว

    great

  • @sethschiele3218
    @sethschiele3218 4 ปีที่แล้ว +21

    RIP anyone watching with a 2.8 GPA

  • @archstanton9182
    @archstanton9182 4 ปีที่แล้ว +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 ปีที่แล้ว

      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.

  • @khwajanamatullahseddiqy6999
    @khwajanamatullahseddiqy6999 ปีที่แล้ว

    Object Methods are useful.

  • @MorgurEdits
    @MorgurEdits 4 ปีที่แล้ว +14

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

  • @thephonomen6933
    @thephonomen6933 4 ปีที่แล้ว +5

    why throw shade on jim wtf

  • @dr.merlot1532
    @dr.merlot1532 ปีที่แล้ว +1

    my hs gpa was 90.4

  • @lonelyplanet120
    @lonelyplanet120 4 ปีที่แล้ว +1

    poor Jim

  • @wencethevillain
    @wencethevillain 8 หลายเดือนก่อน

    i just know he watched the office😂

  • @FuzzyDPozzy
    @FuzzyDPozzy 5 ปีที่แล้ว +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

  • @anchalsharma5921
    @anchalsharma5921 4 ปีที่แล้ว +2

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

    • @leobryant1011
      @leobryant1011 3 ปีที่แล้ว

      wym these tutorials are amazing.

    • @ShadesGameSource
      @ShadesGameSource 3 ปีที่แล้ว +1

      I agree--it's a travesty that his videos are even SUBJECT to the TH-cam algorithms in the first place.
      Screw video metrics--TH-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 2 ปีที่แล้ว +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.