VB.NET Programming. Intermediate Lesson 5. Write your own Functions

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 24

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

    Why is anybosy disliking this , he is doing good i am understanding everything

  • @jtlunsford780
    @jtlunsford780 Рік тому +1

    I'm glad I'm late to the party,, because I don't have wait for the next vid to drop. Took more notes, you made Functions functional and functionally easy to understand. Thanks so much....JT

  • @ksmemon1
    @ksmemon1 3 роки тому +7

    Thanks for your great videos. I would like to request you for the complete tutorial for creating complete database application with DAL and BLL in modern way of programming in vb.net.
    Thanks 👍

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

      You're welcome. I will cover multi-tier and distributed architectures in my advanced series :)KD

  • @kevnar
    @kevnar 3 роки тому +5

    If you need a function to return more than one result, you can pass variables by reference. The values are changed in the function and the calling function can then work with the results returned.

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

      Yes indeed, although the memory usage will persist. You could also pass an array as a parameter, or an object. :)KD

    • @zeoloty4494
      @zeoloty4494 3 роки тому +4

      @@ComputerScienceLessons a tutorial about these two options would also be very interesting

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

    This is a great video

  • @TheScurlocker
    @TheScurlocker 2 роки тому +2

    KD-I love your videos. I see your channel is Computer Science but is there a way to only see your videos ?

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 роки тому +1

      Thank you for the lovely comment. If you mean without adverts then, at the moment, I'm afraid not. One day I hope to make the videos available in other ways, but my day job takes most of my time.

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

    Thank for great videos. Could you make a video for using keyboard keys to activate buttons

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

      I'll do a video on user interface elements soon. I've had a few requests to cover this :)KD

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

    please make a video about interfaces in vb.net

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

      I haven't used interfaces since VB6. I believe however that there are however some advantages to using interfaces instead of inheritance. I will look into it. :)KD

  • @anthonynorton666
    @anthonynorton666 2 роки тому +2

    Instead of Return dblResult, could you write Return (Base*height)/2 or alternatively TriangleArea = (Base*height)/2, reducing lines of code? As always, thank you for your time.

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 роки тому +2

      Indeed you could. An ex teaching colleague of mine and I used to compete to see who could solve programming problems in the fewest lines of code. These days, I encourage new programmers to be as explicit as possible, so that their code is self documenting.

    • @anthonynorton666
      @anthonynorton666 2 роки тому +1

      @@ComputerScienceLessons I used to read this magazine when I was young that had BASIC code and this guy wrote in that he was trained to code in the military and said he was to never to use spaces. I assumed he meant non delimiters. Overboard. I definitely agree with you about read ability.

  • @kabukijoe99
    @kabukijoe99 Рік тому +1

    Hi. 1:40 what if first input attribute of function will be "9,57" instead "9.57"? What is .NEt function to control such inputs? Thank you

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

    When will you post lesson 6

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

    Amazing tutorials😀😀, is it fine you make a tutorial of C++?
    I have looked for good reliable tutorials on C++ however none of them are reliable.
    If it is not possible now, maybe a few months later?
    Thank you.