C# How To Program: C# Methods: Calling methods & passing arguments to methods

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • C# How To Program: C# Methods. Calling methods and passing arguments to methods
    Design a message display application. Allow users to enter their name and favorite saying in a single method that gets invoked two times. First call the method asking for the person’s name. Send a string argument indicating what value should be entered. Invoke the method a second time to retrieve the favorite saying.
    Return the string values back to the Main( ) method. Call another method, sending the name and saying. From that method, display the message showing the person’s name and their saying surrounded by rows of greater than/less than symbols.
    DOWNLOAD SOURCE FILES: www.codinghomew...

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

  • @ing.kelvynalmanzar9144
    @ing.kelvynalmanzar9144 4 ปีที่แล้ว +3

    saludos, me podria explicar como solucionar este error; CS7036 C# There is no argument given that corresponds to the required formal parameter of

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

    calling methods and the "Console.WriteLine("Your name is {0}, name);" both didn't work.

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

    How did you run it?

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

    nice its work

  • @juicedup14
    @juicedup14 6 ปีที่แล้ว

    Very helpful!

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

    "Passing an argument to a program means setting the value of a parameter of that program."

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

      woah nelly

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

      @@jessekim509 Wow. A beginner video that teaches beginner things? Totally mind blowing. Not from your skill level though. To you, this is so easy. Soooooo easy. I mean, you already knew this and everything.

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

      not at all
      i gave up trying to understand and went to another video

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

      @@jessekim509 I thought you was a tech guy being sarcastic. I only posted the definition because the speaker used the word without defining it , which is impossible to learn from so I also moved on. (I just Googled the definition and posted it) I DID find some good videos on syntax though, finally. Syntax is such a simple thing, but almost impossible to find basic information on.

  • @shakeelm5339
    @shakeelm5339 5 ปีที่แล้ว +8

    EXTREMELY CONFUSING

    • @tudorradu5848
      @tudorradu5848 4 ปีที่แล้ว

      IKR, he didn't even call another method

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

    cool vid

  • @SydurRahman21
    @SydurRahman21 4 ปีที่แล้ว

    বাংলায় শিখুন method parameters in C# (C Sharp)
    th-cam.com/video/Pn0aEaWtIbc/w-d-xo.html