Return value of parameterized methods?
<p>I'm new to C# and I'm not sure I understand the use of parameterized methods. Below I have added some code that I have been given in a task that I'm going to develop. It's for a simple GUI with some text boxes asking for a name and a price.</p>

<p>The first line of code calls the method and the boolean variable inputOk expects a true or false value and the out parameter will also "return" some values? </p>

<p>In the second line of code, I guess, despite the "return" of name and price I also need to have a return true or false to get the first line of code to work? Just want to be sure I understand it. And since I can reach the input value from the text boxes like txtName.Text, I don't need to add this value when I call the methods? Thanks!</p>

<pre><code>bool inputOk = ReadAndValidateInput(out customerName, out seatPrice);

private bool ReadAndValidateInput(out string name, out double price)
</code></pre>
