title: Which is better, return value or out parameter?
body: <p>If we want to get a value from a method, we can use either return value, like this:</p>
  
  <pre><code>public int GetValue(); 
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>public void GetValue(out int x);
  </code></pre>
  
  <p>I don't really understand the differences between them, and so, don't know which is better. Can you explain me this?</p>
  
  <p>Thank you.</p>