Global variables in programming languages
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/484635/are-global-variables-bad">Are global variables bad?</a>  </p>
</blockquote>



<p>hi everyone</p>

<p>I want to know if I should avoid global variables or should not.I should avoid them what is the reason and how can I do it..I programm mostly in c#..but I think this question is applicable to all the other languages.</p>

<p>Thanks</p>
