I’ve learned how to store a single input of data and return a value based on it.
What I want to do is obtain multiple inputs from the user, then return a result. But how do I define each input?
Like, if I want the first input to be known as ‘stock’, and the second as ‘value’, how do I do that?
I hope I explained my question properly.
.. Or am I interpreting your question incorrectly?
Edit: As a response to your comment:
If you wish to actually define a “new” variable named “stock” and give it the value “value”, you should look into
System.Collections.Generic.Dictionary<key, value>