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...
saludos, me podria explicar como solucionar este error; CS7036 C# There is no argument given that corresponds to the required formal parameter of
calling methods and the "Console.WriteLine("Your name is {0}, name);" both didn't work.
How did you run it?
nice its work
Very helpful!
"Passing an argument to a program means setting the value of a parameter of that program."
woah nelly
@@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.
not at all
i gave up trying to understand and went to another video
@@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.
EXTREMELY CONFUSING
IKR, he didn't even call another method
cool vid
বাংলায় শিখুন method parameters in C# (C Sharp)
th-cam.com/video/Pn0aEaWtIbc/w-d-xo.html