title: Is it always best practice to declare a variable?
body: <p>I'm new to C# and any form of programming, and I have a question that seems to divide those in the know in my university faculty. That question is simply: do I always have to declare a variable? As a basic example of what I'm talking about: If I have <code>int pounds</code> and <code>int pence</code> do I need to declare <code>int money</code> into which to put the answer or is it ok to just have: </p>
  
  <pre><code>textbox1.Text = (pounds + pence).ToString();
  </code></pre>
  
  <p>I know both work but i'm thinking in terms of best practice.</p>
  
  <p>Thanks in advance.</p>