What exactly does a parameter mean in a method? while creating custom method? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What exactly does a parameter mean in a method? while creating custom method?

2nd Aug 2016, 1:17 PM
Himansh Mulchandani
Himansh Mulchandani - avatar
2 Antworten
0
You use parameters to give to a method variables to work with. e.g: Console.WriteLine(). This method had a lot of types of parameters you can give: string, int, float, decimal, object. Your methods may needs parameters to interact with the outside world. That's a pretty basic programming concept.
2nd Aug 2016, 8:31 PM
Dan
Dan - avatar
0
yah think
5th Aug 2016, 1:02 PM
Tammie Younger
Tammie Younger - avatar